colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "peacock-blue-vs-petrol-blue",
"type": "nearest",
"name": "Peacock Blue vs Petrol Blue",
"verdict": "Peacock Blue and Petrol Blue are very close colors. Petrol Blue is the lighter option. They share similar temperature behavior. Their mutual contrast is 1:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Peacock Blue and Petrol Blue are different cyan colors with HEX values #005F69 and #005F6A. According to Colors Encyclopedia, their RGB distance is 1, their contrast ratio is 1:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 1,
"contrastRatio": 1,
"colors": [
{
"slug": "peacock-blue",
"name": "Peacock Blue",
"hex": "#005F69",
"rgb": [
0,
95,
105
],
"hsl": [
186,
100,
21
],
"cmyk": [
100,
10,
0,
59
],
"family": "cyan",
"temperature": "cool",
"tone": [
"dark"
],
"luminance": 0.092,
"contrast": {
"black": 2.84,
"white": 7.39
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 7.39
},
"description": "Peacock Blue is #005F69, a cool cyan color with dark character. Compared with Petrol Blue, it is darker and similar in saturation. Use it for interfaces, brand systems, and technical design, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/peacock-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/peacock-blue.json"
},
{
"slug": "petrol-blue",
"name": "Petrol Blue",
"hex": "#005F6A",
"rgb": [
0,
95,
106
],
"hsl": [
186,
100,
21
],
"cmyk": [
100,
10,
0,
58
],
"family": "cyan",
"temperature": "cool",
"tone": [
"dark"
],
"luminance": 0.0923,
"contrast": {
"black": 2.85,
"white": 7.38
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 7.38
},
"description": "Petrol Blue is #005F6A, a cool cyan color with dark character. Compared with Peacock Blue, it is lighter and similar in saturation. Use it for interfaces, brand systems, and technical design, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/petrol-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/petrol-blue.json"
}
],
"differences": {
"rgbDistance": 1,
"contrastRatio": 1,
"hslDelta": {
"hue": 0,
"saturation": 0,
"lightness": 0
},
"luminanceDelta": 0.0003,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"dark"
],
"lighterColor": "Petrol Blue",
"moreSaturatedColor": "Peacock Blue"
},
"accessibility": {
"pairContrastRatio": 1,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Peacock Blue",
"background": "#005F69",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 7.39
},
{
"color": "Petrol Blue",
"background": "#005F6A",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 7.38
}
]
},
"useCases": {
"chooseFirstWhen": "Peacock Blue is better when the design needs dark cyan character, cool temperature, and the specific HEX value #005F69.",
"chooseSecondWhen": "Petrol Blue is better when the design needs dark cyan character, cool temperature, and the specific HEX value #005F6A.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
},
"relatedApi": [
"https://www.colorsencyclopedia.com/api/compare/peacock-blue-vs-petrol-blue.json",
"https://www.colorsencyclopedia.com/api/colors/peacock-blue.json",
"https://www.colorsencyclopedia.com/api/colors/petrol-blue.json"
],
"url": "https://www.colorsencyclopedia.com/compare/peacock-blue-vs-petrol-blue/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/peacock-blue-vs-petrol-blue.json"
}