#274FB9#274FB9
#274FB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.174 H 264.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #274FB9 |
|---|---|
| RGB | rgb(39, 79, 185) |
| HSL | hsl(224, 65%, 44%) |
| HSV | hsv(224, 79%, 73%) |
| CMYK | cmyk(78.9%, 57.3%, 0%, 27.5%) |
| CIE-LAB | lab(36.98, 25.16, -59.89) |
| CIE-LCH | lch(36.98, 64.96, 292.78°) |
| OKLab | oklab(46.59% -0.016 -0.1729) |
| OKLCH | oklch(46.59% 0.174 264.7) |
| XYZ | xyz(12.3865, 9.5246, 47.0752) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.22
Cobalt
#0047AB
ΔE00 3.62
Blue Blue
#2242C7
ΔE00 4.73
Blue (survey)
#0343DF
ΔE00 6.01
Cobalt (survey)
#1E488F
ΔE00 6.17
Dusk Blue
#26538D
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274FB9 #B99127
analogous
#2798B9 #274FB9 #4827B9
triadic
#274FB9 #B9274F #4FB927
tetradic
#274FB9 #B92798 #B99127 #27B948
square
#274FB9 #B92798 #B99127 #27B948
split-complementary
#274FB9 #B94827 #98B927
monochromatic
#122454 #1C3986 #274FB9 #456DD8 #7895E3
Accessibility & contrast
On white
7.23
#274FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#274FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274FB9
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274FB9 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #274fb9; /* rgb */ color: rgb(39, 79, 185); /* oklch */ color: oklch(46.6% 0.174 264.7);
Tailwind
colors: {
custom: {
50: '#797fcf',
500: '#274fb9',
950: '#000000',
},
}SCSS
$custom: #274fb9; $custom-light: #797fcf; $custom-dark: #000000;
JSON
{
"hex": "#274fb9",
"rgb": {
"r": 39,
"g": 79,
"b": 185
},
"hsl": {
"h": 223.562,
"s": 65.179,
"l": 43.922
},
"oklch": {
"l": 0.46586,
"c": 0.17369,
"h": 264.7
},
"luminance": 0.09526
}Semantic roles & 50–950 ramp
primary
#274FB9
secondary
#CAB272
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82