#274E8F#274E8F
#274E8F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.116 H 260.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #274E8F |
|---|---|
| RGB | rgb(39, 78, 143) |
| HSL | hsl(218, 57%, 36%) |
| HSV | hsv(218, 73%, 56%) |
| CMYK | cmyk(72.7%, 45.5%, 0%, 43.9%) |
| CIE-LAB | lab(33.69, 9.55, -40.05) |
| CIE-LCH | lch(33.69, 41.17, 283.41°) |
| OKLab | oklab(43.14% -0.0201 -0.1146) |
| OKLCH | oklch(43.14% 0.116 260) |
| XYZ | xyz(8.5172, 7.8624, 27.0500) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.96
Dusk Blue
#26538D
ΔE00 2.13
Light Navy
#155084
ΔE00 3.84
Denim Blue
#3B5B92
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.49
Darkish Blue
#014182
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274E8F #8F6827
analogous
#27828F #274E8F #34278F
triadic
#274E8F #8F274E #4E8F27
tetradic
#274E8F #8F2782 #8F6827 #278F34
square
#274E8F #8F2782 #8F6827 #278F34
split-complementary
#274E8F #8F3427 #828F27
monochromatic
#0D1A2F #1A345F #274E8F #3468BF #5D8AD3
Accessibility & contrast
On white
8.16
#274E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#274E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274E8F
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274E8F | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#1A4B8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #274e8f; /* rgb */ color: rgb(39, 78, 143); /* oklch */ color: oklch(43.1% 0.116 260.0);
Tailwind
colors: {
custom: {
50: '#6f7fb0',
500: '#274e8f',
950: '#000000',
},
}SCSS
$custom: #274e8f; $custom-light: #6f7fb0; $custom-dark: #000000;
JSON
{
"hex": "#274e8f",
"rgb": {
"r": 39,
"g": 78,
"b": 143
},
"hsl": {
"h": 217.5,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.43137,
"c": 0.11635,
"h": 260
},
"luminance": 0.07863
}Semantic roles & 50–950 ramp
primary
#274E8F
secondary
#B8955A
accent
#A747E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F