#274FB5#274FB5
#274FB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.168 H 264.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #274FB5 |
|---|---|
| RGB | rgb(39, 79, 181) |
| HSL | hsl(223, 65%, 43%) |
| HSV | hsv(223, 78%, 71%) |
| CMYK | cmyk(78.5%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(36.66, 23.62, -58.04) |
| CIE-LCH | lch(36.66, 62.67, 292.14°) |
| OKLab | oklab(46.26% -0.0162 -0.1675) |
| OKLCH | oklch(46.26% 0.168 264.5) |
| XYZ | xyz(11.9702, 9.3581, 44.8825) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.09
Cobalt
#0047AB
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 6.00
Denim Blue
#3B5B92
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274FB5 #B58D27
analogous
#2796B5 #274FB5 #4627B5
triadic
#274FB5 #B5274F #4FB527
tetradic
#274FB5 #B52796 #B58D27 #27B546
square
#274FB5 #B52796 #B58D27 #27B546
split-complementary
#274FB5 #B54627 #96B527
monochromatic
#112350 #1C3983 #274FB5 #436CD6 #7594E1
Accessibility & contrast
On white
7.31
#274FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#274FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274FB5
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274FB5 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #274fb5; /* rgb */ color: rgb(39, 79, 181); /* oklch */ color: oklch(46.3% 0.168 264.5);
Tailwind
colors: {
custom: {
50: '#787fcc',
500: '#274fb5',
950: '#000000',
},
}SCSS
$custom: #274fb5; $custom-light: #787fcc; $custom-dark: #000000;
JSON
{
"hex": "#274fb5",
"rgb": {
"r": 39,
"g": 79,
"b": 181
},
"hsl": {
"h": 223.099,
"s": 64.545,
"l": 43.137
},
"oklch": {
"l": 0.46255,
"c": 0.16831,
"h": 264.5
},
"luminance": 0.09359
}Semantic roles & 50–950 ramp
primary
#274FB5
secondary
#C9AF6F
accent
#B840E8
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82