#274FBA#274FBA
#274FBA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.175 H 264.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #274FBA |
|---|---|
| RGB | rgb(39, 79, 186) |
| HSL | hsl(224, 65%, 44%) |
| HSV | hsv(224, 79%, 73%) |
| CMYK | cmyk(79%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(37.05, 25.54, -60.35) |
| CIE-LCH | lch(37.05, 65.53, 292.94°) |
| OKLab | oklab(46.67% -0.0159 -0.1743) |
| OKLCH | oklch(46.67% 0.175 264.8) |
| XYZ | xyz(12.4925, 9.5670, 47.6331) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.27
Cobalt
#0047AB
ΔE00 3.71
Blue Blue
#2242C7
ΔE00 4.65
Blue (survey)
#0343DF
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.30
Dusk Blue
#26538D
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274FBA #BA9227
analogous
#2799BA #274FBA #4827BA
triadic
#274FBA #BA274F #4FBA27
tetradic
#274FBA #BA2799 #BA9227 #27BA48
square
#274FBA #BA2799 #BA9227 #27BA48
split-complementary
#274FBA #BA4827 #99BA27
monochromatic
#122455 #1C3A87 #274FBA #466ED8 #7995E3
Accessibility & contrast
On white
7.21
#274FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#274FBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274FBA
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274FBA | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #274fba; /* rgb */ color: rgb(39, 79, 186); /* oklch */ color: oklch(46.7% 0.175 264.8);
Tailwind
colors: {
custom: {
50: '#797fd0',
500: '#274fba',
950: '#000000',
},
}SCSS
$custom: #274fba; $custom-light: #797fd0; $custom-dark: #000000;
JSON
{
"hex": "#274fba",
"rgb": {
"r": 39,
"g": 79,
"b": 186
},
"hsl": {
"h": 223.673,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.4667,
"c": 0.17503,
"h": 264.8
},
"luminance": 0.09568
}Semantic roles & 50–950 ramp
primary
#274FBA
secondary
#CBB372
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82