#274A7D#274A7D
#274A7D is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.095 H 257.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #274A7D |
|---|---|
| RGB | rgb(39, 74, 125) |
| HSL | hsl(216, 52%, 32%) |
| HSV | hsv(216, 69%, 49%) |
| CMYK | cmyk(68.8%, 40.8%, 0%, 51%) |
| CIE-LAB | lab(31.37, 5.27, -32.67) |
| CIE-LCH | lch(31.37, 33.09, 279.16°) |
| OKLab | oklab(40.98% -0.02 -0.093) |
| OKLCH | oklch(40.98% 0.095 257.9) |
| XYZ | xyz(6.9858, 6.8089, 20.3441) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.65
Twilight Blue
#0A437A
ΔE00 3.11
Darkish Blue
#014182
ΔE00 3.53
Dusk Blue
#26538D
ΔE00 3.53
Light Navy
#155084
ΔE00 3.82
Prussian Blue
#004577
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274A7D #7D5A27
analogous
#27757D #274A7D #2F277D
triadic
#274A7D #7D274A #4A7D27
tetradic
#274A7D #7D2775 #7D5A27 #277D2F
square
#274A7D #7D2775 #7D5A27 #277D2F
split-complementary
#274A7D #7D2F27 #757D27
monochromatic
#0A1320 #182E4E #274A7D #3666AC #5584CA
Accessibility & contrast
On white
8.89
#274A7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#274A7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274A7D
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274A7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274A7D | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #274a7d; /* rgb */ color: rgb(39, 74, 125); /* oklch */ color: oklch(41.0% 0.095 257.9);
Tailwind
colors: {
custom: {
50: '#6b7ca3',
500: '#274a7d',
950: '#000000',
},
}SCSS
$custom: #274a7d; $custom-light: #6b7ca3; $custom-dark: #000000;
JSON
{
"hex": "#274a7d",
"rgb": {
"r": 39,
"g": 74,
"b": 125
},
"hsl": {
"h": 215.581,
"s": 52.439,
"l": 32.157
},
"oklch": {
"l": 0.40976,
"c": 0.09513,
"h": 257.9
},
"luminance": 0.0681
}Semantic roles & 50–950 ramp
primary
#274A7D
secondary
#AF8951
accent
#A14CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F