#274F97#274F97
#274F97 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.127 H 261.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #274F97 |
|---|---|
| RGB | rgb(39, 79, 151) |
| HSL | hsl(219, 59%, 37%) |
| HSV | hsv(219, 74%, 59%) |
| CMYK | cmyk(74.2%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.51, 11.99, -43.60) |
| CIE-LCH | lch(34.51, 45.22, 285.37°) |
| OKLab | oklab(43.93% -0.0196 -0.125) |
| OKLCH | oklch(43.93% 0.127 261.1) |
| XYZ | xyz(9.2166, 8.2567, 30.3801) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.39
Dusk Blue
#26538D
ΔE00 2.45
Cobalt
#0047AB
ΔE00 3.87
Denim Blue
#3B5B92
ΔE00 4.23
Light Navy
#155084
ΔE00 4.42
Sapphire
#0F52BA
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274F97 #976F27
analogous
#278797 #274F97 #372797
triadic
#274F97 #97274F #4F9727
tetradic
#274F97 #972787 #976F27 #279737
square
#274F97 #972787 #976F27 #279737
split-complementary
#274F97 #973727 #879727
monochromatic
#0E1C36 #1A3666 #274F97 #3468C8 #628CD6
Accessibility & contrast
On white
7.92
#274F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#274F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274F97
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274F97 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#0D4C96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #274f97; /* rgb */ color: rgb(39, 79, 151); /* oklch */ color: oklch(43.9% 0.127 261.1);
Tailwind
colors: {
custom: {
50: '#717fb6',
500: '#274f97',
950: '#000000',
},
}SCSS
$custom: #274f97; $custom-light: #717fb6; $custom-dark: #000000;
JSON
{
"hex": "#274f97",
"rgb": {
"r": 39,
"g": 79,
"b": 151
},
"hsl": {
"h": 218.571,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.43934,
"c": 0.12655,
"h": 261.1
},
"luminance": 0.08258
}Semantic roles & 50–950 ramp
primary
#274F97
secondary
#BC9A5E
accent
#AA46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80