#296797#296797
#296797 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.100 H 245.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #296797 |
|---|---|
| RGB | rgb(41, 103, 151) |
| HSL | hsl(206, 57%, 38%) |
| HSV | hsv(206, 73%, 59%) |
| CMYK | cmyk(72.8%, 31.8%, 0%, 40.8%) |
| CIE-LAB | lab(41.85, -3.16, -31.92) |
| CIE-LCH | lch(41.85, 32.08, 264.35°) |
| OKLab | oklab(49.68% -0.0416 -0.0904) |
| OKLCH | oklch(49.68% 0.1 245.3) |
| XYZ | xyz(11.3485, 12.4050, 31.0685) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ugly Blue
#31668A
ΔE00 2.58
Peacock Blue
#016795
ΔE00 3.25
Denim (survey)
#3B638C
ΔE00 3.30
Muted Blue
#3B719F
ΔE00 3.88
Mid Blue
#276AB3
ΔE00 3.95
Flat Blue
#3C73A8
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296797 #975929
analogous
#299790 #296797 #293097
triadic
#296797 #972967 #679729
tetradic
#296797 #902997 #975929 #309729
square
#296797 #902997 #975929 #309729
split-complementary
#296797 #972930 #979029
monochromatic
#0F2537 #1C4667 #296797 #3688C7 #65A4D5
Accessibility & contrast
On white
6.03
#296797 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#296797 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296797
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296797 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #296797; /* rgb */ color: rgb(41, 103, 151); /* oklch */ color: oklch(49.7% 0.100 245.3);
Tailwind
colors: {
custom: {
50: '#7192b6',
500: '#296797',
950: '#000000',
},
}SCSS
$custom: #296797; $custom-light: #7192b6; $custom-dark: #000000;
JSON
{
"hex": "#296797",
"rgb": {
"r": 41,
"g": 103,
"b": 151
},
"hsl": {
"h": 206.182,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.49675,
"c": 0.09952,
"h": 245.3
},
"luminance": 0.12406
}Semantic roles & 50–950 ramp
primary
#296797
secondary
#BB8861
accent
#8A47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80