#274EBA#274EBA
#274EBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.176 H 265.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #274EBA |
|---|---|
| RGB | rgb(39, 78, 186) |
| HSL | hsl(224, 65%, 44%) |
| HSV | hsv(224, 79%, 73%) |
| CMYK | cmyk(79%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.79, 26.20, -60.79) |
| CIE-LCH | lch(36.79, 66.19, 293.32°) |
| OKLab | oklab(46.47% -0.0153 -0.1756) |
| OKLCH | oklch(46.47% 0.176 265) |
| XYZ | xyz(12.4209, 9.4238, 47.6092) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.54
Cobalt
#0047AB
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.33
Blue (survey)
#0343DF
ΔE00 5.69
Cobalt (survey)
#1E488F
ΔE00 6.29
Dusk Blue
#26538D
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274EBA #BA9327
analogous
#2798BA #274EBA #4A27BA
triadic
#274EBA #BA274E #4EBA27
tetradic
#274EBA #BA2798 #BA9327 #27BA4A
square
#274EBA #BA2798 #BA9327 #27BA4A
split-complementary
#274EBA #BA4A27 #98BA27
monochromatic
#122455 #1C3987 #274EBA #466DD8 #7995E3
Accessibility & contrast
On white
7.28
#274EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#274EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274EBA
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274EBA | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #274eba; /* rgb */ color: rgb(39, 78, 186); /* oklch */ color: oklch(46.5% 0.176 265.0);
Tailwind
colors: {
custom: {
50: '#797fd0',
500: '#274eba',
950: '#000000',
},
}SCSS
$custom: #274eba; $custom-light: #797fd0; $custom-dark: #000000;
JSON
{
"hex": "#274eba",
"rgb": {
"r": 39,
"g": 78,
"b": 186
},
"hsl": {
"h": 224.082,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.4647,
"c": 0.17625,
"h": 265
},
"luminance": 0.09425
}Semantic roles & 50–950 ramp
primary
#274EBA
secondary
#CBB372
accent
#BC40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82