#274F98#274F98
#274F98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.128 H 261.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #274F98 |
|---|---|
| RGB | rgb(39, 79, 152) |
| HSL | hsl(219, 59%, 37%) |
| HSV | hsv(219, 74%, 60%) |
| CMYK | cmyk(74.3%, 48%, 0%, 40.4%) |
| CIE-LAB | lab(34.58, 12.38, -44.10) |
| CIE-LCH | lch(34.58, 45.80, 285.68°) |
| OKLab | oklab(44.01% -0.0195 -0.1265) |
| OKLCH | oklch(44.01% 0.128 261.2) |
| XYZ | xyz(9.2981, 8.2893, 30.8096) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.44
Dusk Blue
#26538D
ΔE00 2.55
Cobalt
#0047AB
ΔE00 3.78
Denim Blue
#3B5B92
ΔE00 4.25
Sapphire
#0F52BA
ΔE00 4.30
Light Navy
#155084
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274F98 #987027
analogous
#278798 #274F98 #382798
triadic
#274F98 #98274F #4F9827
tetradic
#274F98 #982787 #987027 #279838
square
#274F98 #982787 #987027 #279838
split-complementary
#274F98 #983827 #879827
monochromatic
#0E1C37 #1B3667 #274F98 #3368C9 #638CD7
Accessibility & contrast
On white
7.90
#274F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#274F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274F98
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274F98 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#0A4C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #274f98; /* rgb */ color: rgb(39, 79, 152); /* oklch */ color: oklch(44.0% 0.128 261.2);
Tailwind
colors: {
custom: {
50: '#717fb7',
500: '#274f98',
950: '#000000',
},
}SCSS
$custom: #274f98; $custom-light: #717fb7; $custom-dark: #000000;
JSON
{
"hex": "#274f98",
"rgb": {
"r": 39,
"g": 79,
"b": 152
},
"hsl": {
"h": 218.761,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.44006,
"c": 0.12798,
"h": 261.2
},
"luminance": 0.0829
}Semantic roles & 50–950 ramp
primary
#274F98
secondary
#BC9B5E
accent
#AB45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80