#274297#274297
#274297 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.143 H 266.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #274297 |
|---|---|
| RGB | rgb(39, 66, 151) |
| HSL | hsl(226, 59%, 37%) |
| HSV | hsv(226, 74%, 59%) |
| CMYK | cmyk(74.2%, 56.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.79, 20.77, -49.62) |
| CIE-LCH | lch(30.79, 53.79, 292.72°) |
| OKLab | oklab(41.1% -0.0084 -0.143) |
| OKLCH | oklch(41.1% 0.143 266.6) |
| XYZ | xyz(8.3689, 6.5612, 30.0975) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.50
Cobalt
#0047AB
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.74
Darkish Blue
#014182
ΔE00 5.26
Blueberry
#464196
ΔE00 5.32
Twilight Blue
#0A437A
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274297 #977C27
analogous
#277A97 #274297 #442797
triadic
#274297 #972742 #429727
tetradic
#274297 #97277A #977C27 #279744
square
#274297 #97277A #977C27 #279744
split-complementary
#274297 #974427 #7A9727
monochromatic
#0E1736 #1A2D66 #274297 #3457C8 #627ED6
Accessibility & contrast
On white
9.08
#274297 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#274297 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274297
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274297 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274297 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #274297; /* rgb */ color: rgb(39, 66, 151); /* oklch */ color: oklch(41.1% 0.143 266.6);
Tailwind
colors: {
custom: {
50: '#7175b6',
500: '#274297',
950: '#000000',
},
}SCSS
$custom: #274297; $custom-light: #7175b6; $custom-dark: #000000;
JSON
{
"hex": "#274297",
"rgb": {
"r": 39,
"g": 66,
"b": 151
},
"hsl": {
"h": 225.536,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.41099,
"c": 0.14321,
"h": 266.6
},
"luminance": 0.06562
}Semantic roles & 50–950 ramp
primary
#274297
secondary
#BCA55E
accent
#BC46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80