#274EB5#274EB5
#274EB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.170 H 264.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #274EB5 |
|---|---|
| RGB | rgb(39, 78, 181) |
| HSL | hsl(224, 65%, 43%) |
| HSV | hsv(224, 78%, 71%) |
| CMYK | cmyk(78.5%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(36.39, 24.28, -58.48) |
| CIE-LCH | lch(36.39, 63.32, 292.55°) |
| OKLab | oklab(46.05% -0.0155 -0.1688) |
| OKLCH | oklch(46.05% 0.17 264.7) |
| XYZ | xyz(11.8986, 9.2149, 44.8587) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.37
Cobalt
#0047AB
ΔE00 3.14
Blue Blue
#2242C7
ΔE00 4.78
Cobalt (survey)
#1E488F
ΔE00 5.62
Dusk Blue
#26538D
ΔE00 6.17
Blue (survey)
#0343DF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274EB5 #B58E27
analogous
#2795B5 #274EB5 #4727B5
triadic
#274EB5 #B5274E #4EB527
tetradic
#274EB5 #B52795 #B58E27 #27B547
square
#274EB5 #B52795 #B58E27 #27B547
split-complementary
#274EB5 #B54727 #95B527
monochromatic
#112350 #1C3883 #274EB5 #436BD6 #7593E1
Accessibility & contrast
On white
7.39
#274EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#274EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274EB5
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274EB5 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #274eb5; /* rgb */ color: rgb(39, 78, 181); /* oklch */ color: oklch(46.1% 0.170 264.7);
Tailwind
colors: {
custom: {
50: '#787fcc',
500: '#274eb5',
950: '#000000',
},
}SCSS
$custom: #274eb5; $custom-light: #787fcc; $custom-dark: #000000;
JSON
{
"hex": "#274eb5",
"rgb": {
"r": 39,
"g": 78,
"b": 181
},
"hsl": {
"h": 223.521,
"s": 64.545,
"l": 43.137
},
"oklch": {
"l": 0.46052,
"c": 0.16953,
"h": 264.7
},
"luminance": 0.09216
}Semantic roles & 50–950 ramp
primary
#274EB5
secondary
#C9B06F
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82