#274EB1#274EB1
#274EB1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.164 H 264.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #274EB1 |
|---|---|
| RGB | rgb(39, 78, 177) |
| HSL | hsl(223, 64%, 42%) |
| HSV | hsv(223, 78%, 69%) |
| CMYK | cmyk(78%, 55.9%, 0%, 30.6%) |
| CIE-LAB | lab(36.09, 22.75, -56.62) |
| CIE-LCH | lch(36.09, 61.02, 291.89°) |
| OKLab | oklab(45.72% -0.0158 -0.1633) |
| OKLCH | oklch(45.72% 0.164 264.5) |
| XYZ | xyz(11.4941, 9.0531, 42.7281) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.37
Cobalt
#0047AB
ΔE00 2.86
Cobalt (survey)
#1E488F
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.19
Dusk Blue
#26538D
ΔE00 5.70
Denim Blue
#3B5B92
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274EB1 #B18A27
analogous
#2793B1 #274EB1 #4527B1
triadic
#274EB1 #B1274E #4EB127
tetradic
#274EB1 #B12793 #B18A27 #27B145
square
#274EB1 #B12793 #B18A27 #27B145
split-complementary
#274EB1 #B14527 #93B127
monochromatic
#11224D #1C387F #274EB1 #406AD5 #7291E0
Accessibility & contrast
On white
7.47
#274EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#274EB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274EB1
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274EB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274EB1 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #274eb1; /* rgb */ color: rgb(39, 78, 177); /* oklch */ color: oklch(45.7% 0.164 264.5);
Tailwind
colors: {
custom: {
50: '#777fc9',
500: '#274eb1',
950: '#000000',
},
}SCSS
$custom: #274eb1; $custom-light: #777fc9; $custom-dark: #000000;
JSON
{
"hex": "#274eb1",
"rgb": {
"r": 39,
"g": 78,
"b": 177
},
"hsl": {
"h": 223.043,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.45723,
"c": 0.16411,
"h": 264.5
},
"luminance": 0.09054
}Semantic roles & 50–950 ramp
primary
#274EB1
secondary
#C7AE6D
accent
#B841E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82