#274EB7#274EB7
#274EB7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.172 H 264.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #274EB7 |
|---|---|
| RGB | rgb(39, 78, 183) |
| HSL | hsl(224, 65%, 44%) |
| HSV | hsv(224, 79%, 72%) |
| CMYK | cmyk(78.7%, 57.4%, 0%, 28.2%) |
| CIE-LAB | lab(36.55, 25.05, -59.41) |
| CIE-LCH | lch(36.55, 64.47, 292.86°) |
| OKLab | oklab(46.22% -0.0154 -0.1715) |
| OKLCH | oklch(46.22% 0.172 264.9) |
| XYZ | xyz(12.1053, 9.2976, 45.9472) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.41
Cobalt
#0047AB
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 5.89
Blue (survey)
#0343DF
ΔE00 6.06
Dusk Blue
#26538D
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274EB7 #B79027
analogous
#2796B7 #274EB7 #4827B7
triadic
#274EB7 #B7274E #4EB727
tetradic
#274EB7 #B72796 #B79027 #27B748
square
#274EB7 #B72796 #B79027 #27B748
split-complementary
#274EB7 #B74827 #96B727
monochromatic
#112352 #1C3885 #274EB7 #446CD7 #7694E2
Accessibility & contrast
On white
7.34
#274EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#274EB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274EB7
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274EB7 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #274eb7; /* rgb */ color: rgb(39, 78, 183); /* oklch */ color: oklch(46.2% 0.172 264.9);
Tailwind
colors: {
custom: {
50: '#787fcd',
500: '#274eb7',
950: '#000000',
},
}SCSS
$custom: #274eb7; $custom-light: #787fcd; $custom-dark: #000000;
JSON
{
"hex": "#274eb7",
"rgb": {
"r": 39,
"g": 78,
"b": 183
},
"hsl": {
"h": 223.75,
"s": 64.865,
"l": 43.529
},
"oklch": {
"l": 0.46218,
"c": 0.17223,
"h": 264.9
},
"luminance": 0.09299
}Semantic roles & 50–950 ramp
primary
#274EB7
secondary
#C9B170
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82