#274CBA#274CBA
#274CBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.179 H 265.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #274CBA |
|---|---|
| RGB | rgb(39, 76, 186) |
| HSL | hsl(225, 65%, 44%) |
| HSV | hsv(225, 79%, 73%) |
| CMYK | cmyk(79%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.26, 27.52, -61.65) |
| CIE-LCH | lch(36.26, 67.51, 294.05°) |
| OKLab | oklab(46.08% -0.014 -0.1781) |
| OKLCH | oklch(46.08% 0.179 265.5) |
| XYZ | xyz(12.2809, 9.1440, 47.5626) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.12
Cobalt
#0047AB
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 3.72
Blue (survey)
#0343DF
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 6.28
Cobalt (survey)
#1E488F
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274CBA #BA9527
analogous
#2796BA #274CBA #4C27BA
triadic
#274CBA #BA274C #4CBA27
tetradic
#274CBA #BA2796 #BA9527 #27BA4C
square
#274CBA #BA2796 #BA9527 #27BA4C
split-complementary
#274CBA #BA4C27 #96BA27
monochromatic
#122355 #1C3787 #274CBA #466BD8 #7993E3
Accessibility & contrast
On white
7.42
#274CBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#274CBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274CBA
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274CBA | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #274cba; /* rgb */ color: rgb(39, 76, 186); /* oklch */ color: oklch(46.1% 0.179 265.5);
Tailwind
colors: {
custom: {
50: '#797dd0',
500: '#274cba',
950: '#000000',
},
}SCSS
$custom: #274cba; $custom-light: #797dd0; $custom-dark: #000000;
JSON
{
"hex": "#274cba",
"rgb": {
"r": 39,
"g": 76,
"b": 186
},
"hsl": {
"h": 224.898,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.46075,
"c": 0.1787,
"h": 265.5
},
"luminance": 0.09145
}Semantic roles & 50–950 ramp
primary
#274CBA
secondary
#CBB472
accent
#BE40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82