#274E98#274E98
#274E98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.129 H 261.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #274E98 |
|---|---|
| RGB | rgb(39, 78, 152) |
| HSL | hsl(219, 59%, 37%) |
| HSV | hsv(219, 74%, 60%) |
| CMYK | cmyk(74.3%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(34.29, 13.05, -44.57) |
| CIE-LCH | lch(34.29, 46.44, 286.32°) |
| OKLab | oklab(43.78% -0.0186 -0.1279) |
| OKLCH | oklch(43.78% 0.129 261.7) |
| XYZ | xyz(9.2266, 8.1461, 30.7858) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.20
Dusk Blue
#26538D
ΔE00 2.86
Cobalt
#0047AB
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 4.40
Denim Blue
#3B5B92
ΔE00 4.54
Light Navy
#155084
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274E98 #987127
analogous
#278698 #274E98 #392798
triadic
#274E98 #98274E #4E9827
tetradic
#274E98 #982786 #987127 #279839
square
#274E98 #982786 #987127 #279839
split-complementary
#274E98 #983927 #869827
monochromatic
#0E1C37 #1B3567 #274E98 #3367C9 #638BD7
Accessibility & contrast
On white
7.99
#274E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#274E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274E98
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274E98 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#054C97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #274e98; /* rgb */ color: rgb(39, 78, 152); /* oklch */ color: oklch(43.8% 0.129 261.7);
Tailwind
colors: {
custom: {
50: '#717fb7',
500: '#274e98',
950: '#000000',
},
}SCSS
$custom: #274e98; $custom-light: #717fb7; $custom-dark: #000000;
JSON
{
"hex": "#274e98",
"rgb": {
"r": 39,
"g": 78,
"b": 152
},
"hsl": {
"h": 219.292,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.43781,
"c": 0.12923,
"h": 261.7
},
"luminance": 0.08147
}Semantic roles & 50–950 ramp
primary
#274E98
secondary
#BC9C5E
accent
#AC45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80