#297BAB#297BAB
#297BAB is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.6% C 0.107 H 239.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #297BAB |
|---|---|
| RGB | rgb(41, 123, 171) |
| HSL | hsl(202, 61%, 42%) |
| HSV | hsv(202, 76%, 67%) |
| CMYK | cmyk(76%, 28.1%, 0%, 32.9%) |
| CIE-LAB | lab(48.98, -7.82, -32.52) |
| CIE-LCH | lch(48.98, 33.44, 256.48°) |
| OKLab | oklab(55.63% -0.0551 -0.0919) |
| OKLCH | oklch(55.63% 0.107 239) |
| XYZ | xyz(15.3452, 17.5758, 41.1039) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.27
Cerulean
#007BA7
ΔE00 3.03
Steel Blue
#4682B4
ΔE00 4.41
Bluish
#2976BB
ΔE00 4.65
Stormy Blue
#507B9C
ΔE00 4.67
Ocean Blue (survey)
#03719C
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297BAB #AB5929
analogous
#29AB9A #297BAB #293AAB
triadic
#297BAB #AB297B #7BAB29
tetradic
#297BAB #9A29AB #AB5929 #3AAB29
square
#297BAB #9A29AB #AB5929 #3AAB29
split-complementary
#297BAB #AB293A #AB9A29
monochromatic
#113448 #1D577A #297BAB #409CD1 #71B5DD
Accessibility & contrast
On white
4.65
#297BAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#297BAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #297BAB
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297BAB | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647BAD
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #297bab; /* rgb */ color: rgb(41, 123, 171); /* oklch */ color: oklch(55.6% 0.107 239.0);
Tailwind
colors: {
custom: {
50: '#76a1c4',
500: '#297bab',
950: '#000000',
},
}SCSS
$custom: #297bab; $custom-light: #76a1c4; $custom-dark: #000000;
JSON
{
"hex": "#297bab",
"rgb": {
"r": 41,
"g": 123,
"b": 171
},
"hsl": {
"h": 202.154,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.55633,
"c": 0.10713,
"h": 239
},
"luminance": 0.17578
}Semantic roles & 50–950 ramp
primary
#297BAB
secondary
#C48C6C
accent
#7F43E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81