#274DBA#274DBA
#274DBA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.177 H 265.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #274DBA |
|---|---|
| RGB | rgb(39, 77, 186) |
| HSL | hsl(224, 65%, 44%) |
| HSV | hsv(224, 79%, 73%) |
| CMYK | cmyk(79%, 58.6%, 0%, 27.1%) |
| CIE-LAB | lab(36.52, 26.86, -61.22) |
| CIE-LCH | lch(36.52, 66.85, 293.69°) |
| OKLab | oklab(46.27% -0.0146 -0.1769) |
| OKLCH | oklch(46.27% 0.177 265.3) |
| XYZ | xyz(12.3504, 9.2828, 47.5857) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.82
Cobalt
#0047AB
ΔE00 3.52
Blue Blue
#2242C7
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 6.30
Sapphire (survey)
#2138AB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274DBA #BA9427
analogous
#2797BA #274DBA #4B27BA
triadic
#274DBA #BA274D #4DBA27
tetradic
#274DBA #BA2797 #BA9427 #27BA4B
square
#274DBA #BA2797 #BA9427 #27BA4B
split-complementary
#274DBA #BA4B27 #97BA27
monochromatic
#122355 #1C3887 #274DBA #466CD8 #7994E3
Accessibility & contrast
On white
7.35
#274DBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#274DBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274DBA
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274DBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274DBA | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #274dba; /* rgb */ color: rgb(39, 77, 186); /* oklch */ color: oklch(46.3% 0.177 265.3);
Tailwind
colors: {
custom: {
50: '#797ed0',
500: '#274dba',
950: '#000000',
},
}SCSS
$custom: #274dba; $custom-light: #797ed0; $custom-dark: #000000;
JSON
{
"hex": "#274dba",
"rgb": {
"r": 39,
"g": 77,
"b": 186
},
"hsl": {
"h": 224.49,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.46272,
"c": 0.17747,
"h": 265.3
},
"luminance": 0.09284
}Semantic roles & 50–950 ramp
primary
#274DBA
secondary
#CBB472
accent
#BD40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82