#274F8F#274F8F
#274F8F is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.115 H 259.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #274F8F |
|---|---|
| RGB | rgb(39, 79, 143) |
| HSL | hsl(217, 57%, 36%) |
| HSV | hsv(217, 73%, 56%) |
| CMYK | cmyk(72.7%, 44.8%, 0%, 43.9%) |
| CIE-LAB | lab(33.99, 8.88, -39.57) |
| CIE-LCH | lch(33.99, 40.55, 282.65°) |
| OKLab | oklab(43.37% -0.0211 -0.1132) |
| OKLCH | oklch(43.37% 0.115 259.4) |
| XYZ | xyz(8.5888, 8.0056, 27.0739) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.75
Cobalt (survey)
#1E488F
ΔE00 2.29
Light Navy
#155084
ΔE00 3.60
Denim Blue
#3B5B92
ΔE00 4.19
Light Navy Blue
#2E5A88
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274F8F #8F6727
analogous
#27838F #274F8F #33278F
triadic
#274F8F #8F274F #4F8F27
tetradic
#274F8F #8F2783 #8F6727 #278F33
square
#274F8F #8F2783 #8F6727 #278F33
split-complementary
#274F8F #8F3327 #838F27
monochromatic
#0D1A2F #1A345F #274F8F #346ABF #5D8BD3
Accessibility & contrast
On white
8.07
#274F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#274F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274F8F
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274F8F | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#1D4B8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #274f8f; /* rgb */ color: rgb(39, 79, 143); /* oklch */ color: oklch(43.4% 0.115 259.4);
Tailwind
colors: {
custom: {
50: '#6f7fb0',
500: '#274f8f',
950: '#000000',
},
}SCSS
$custom: #274f8f; $custom-light: #6f7fb0; $custom-dark: #000000;
JSON
{
"hex": "#274f8f",
"rgb": {
"r": 39,
"g": 79,
"b": 143
},
"hsl": {
"h": 216.923,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.43368,
"c": 0.11512,
"h": 259.4
},
"luminance": 0.08006
}Semantic roles & 50–950 ramp
primary
#274F8F
secondary
#B8945A
accent
#A647E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F