#274E9D#274E9D
#274E9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.136 H 262.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #274E9D |
|---|---|
| RGB | rgb(39, 78, 157) |
| HSL | hsl(220, 60%, 38%) |
| HSV | hsv(220, 75%, 62%) |
| CMYK | cmyk(75.2%, 50.3%, 0%, 38.4%) |
| CIE-LAB | lab(34.63, 14.99, -47.04) |
| CIE-LCH | lch(34.63, 49.37, 287.68°) |
| OKLab | oklab(44.15% -0.0178 -0.1352) |
| OKLCH | oklch(44.15% 0.136 262.5) |
| XYZ | xyz(9.6447, 8.3134, 32.9881) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.63
Cobalt
#0047AB
ΔE00 3.13
Dusk Blue
#26538D
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 3.84
Denim Blue
#3B5B92
ΔE00 4.72
Light Navy
#155084
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274E9D #9D7627
analogous
#27899D #274E9D #3B279D
triadic
#274E9D #9D274E #4E9D27
tetradic
#274E9D #9D2789 #9D7627 #279D3B
square
#274E9D #9D2789 #9D7627 #279D3B
split-complementary
#274E9D #9D3B27 #899D27
monochromatic
#0F1D3B #1B366C #274E9D #3567CD #668CD9
Accessibility & contrast
On white
7.89
#274E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#274E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274E9D
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274E9D | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #274e9d; /* rgb */ color: rgb(39, 78, 157); /* oklch */ color: oklch(44.2% 0.136 262.5);
Tailwind
colors: {
custom: {
50: '#727fba',
500: '#274e9d',
950: '#000000',
},
}SCSS
$custom: #274e9d; $custom-light: #727fba; $custom-dark: #000000;
JSON
{
"hex": "#274e9d",
"rgb": {
"r": 39,
"g": 78,
"b": 157
},
"hsl": {
"h": 220.169,
"s": 60.204,
"l": 38.431
},
"oklch": {
"l": 0.44152,
"c": 0.13633,
"h": 262.5
},
"luminance": 0.08314
}Semantic roles & 50–950 ramp
primary
#274E9D
secondary
#BFA061
accent
#AF44E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81