#274C98#274C98
#274C98 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.132 H 262.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #274C98 |
|---|---|
| RGB | rgb(39, 76, 152) |
| HSL | hsl(220, 59%, 37%) |
| HSV | hsv(220, 74%, 60%) |
| CMYK | cmyk(74.3%, 50%, 0%, 40.4%) |
| CIE-LAB | lab(33.70, 14.39, -45.51) |
| CIE-LCH | lch(33.70, 47.73, 287.55°) |
| OKLab | oklab(43.34% -0.0168 -0.1307) |
| OKLCH | oklch(43.34% 0.132 262.7) |
| XYZ | xyz(9.0866, 7.8662, 30.7391) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.86
Cobalt
#0047AB
ΔE00 3.23
Dusk Blue
#26538D
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 4.65
Darkish Blue
#014182
ΔE00 5.01
Denim Blue
#3B5B92
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274C98 #987327
analogous
#278498 #274C98 #3B2798
triadic
#274C98 #98274C #4C9827
tetradic
#274C98 #982784 #987327 #27983B
square
#274C98 #982784 #987327 #27983B
split-complementary
#274C98 #983B27 #849827
monochromatic
#0E1B37 #1B3467 #274C98 #3364C9 #6389D7
Accessibility & contrast
On white
8.16
#274C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#274C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274C98
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274C98 | 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)
#21559B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #274c98; /* rgb */ color: rgb(39, 76, 152); /* oklch */ color: oklch(43.3% 0.132 262.7);
Tailwind
colors: {
custom: {
50: '#717db7',
500: '#274c98',
950: '#000000',
},
}SCSS
$custom: #274c98; $custom-light: #717db7; $custom-dark: #000000;
JSON
{
"hex": "#274c98",
"rgb": {
"r": 39,
"g": 76,
"b": 152
},
"hsl": {
"h": 220.354,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.43335,
"c": 0.13177,
"h": 262.7
},
"luminance": 0.07867
}Semantic roles & 50–950 ramp
primary
#274C98
secondary
#BC9E5E
accent
#AF45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80