#274BAB#274BAB
#274BAB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.160 H 265.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #274BAB |
|---|---|
| RGB | rgb(39, 75, 171) |
| HSL | hsl(224, 63%, 41%) |
| HSV | hsv(224, 77%, 67%) |
| CMYK | cmyk(77.2%, 56.1%, 0%, 32.9%) |
| CIE-LAB | lab(34.81, 22.43, -55.13) |
| CIE-LCH | lch(34.81, 59.52, 292.14°) |
| OKLab | oklab(44.61% -0.014 -0.159) |
| OKLCH | oklch(44.61% 0.16 265) |
| XYZ | xyz(10.7009, 8.4026, 39.5781) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.22
Sapphire
#0F52BA
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 4.31
Blue Blue
#2242C7
ΔE00 5.12
Dusk Blue
#26538D
ΔE00 5.69
Sapphire (survey)
#2138AB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274BAB #AB8727
analogous
#278DAB #274BAB #4527AB
triadic
#274BAB #AB274B #4BAB27
tetradic
#274BAB #AB278D #AB8727 #27AB45
square
#274BAB #AB278D #AB8727 #27AB45
split-complementary
#274BAB #AB4527 #8DAB27
monochromatic
#101F47 #1C3579 #274BAB #3D65D3 #6E8DDE
Accessibility & contrast
On white
7.83
#274BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#274BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274BAB
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274BAB | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #274bab; /* rgb */ color: rgb(39, 75, 171); /* oklch */ color: oklch(44.6% 0.160 265.0);
Tailwind
colors: {
custom: {
50: '#757cc5',
500: '#274bab',
950: '#000000',
},
}SCSS
$custom: #274bab; $custom-light: #757cc5; $custom-dark: #000000;
JSON
{
"hex": "#274bab",
"rgb": {
"r": 39,
"g": 75,
"b": 171
},
"hsl": {
"h": 223.636,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.44614,
"c": 0.15965,
"h": 265
},
"luminance": 0.08404
}Semantic roles & 50–950 ramp
primary
#274BAB
secondary
#C5AC69
accent
#B942E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82