#273FAB#273FAB
#273FAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.174 H 268.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #273FAB |
|---|---|
| RGB | rgb(39, 63, 171) |
| HSL | hsl(229, 63%, 41%) |
| HSV | hsv(229, 77%, 67%) |
| CMYK | cmyk(77.2%, 63.2%, 0%, 32.9%) |
| CIE-LAB | lab(31.64, 30.42, -60.31) |
| CIE-LCH | lch(31.64, 67.54, 296.76°) |
| OKLab | oklab(42.25% -0.0058 -0.1744) |
| OKLCH | oklch(42.25% 0.174 268.1) |
| XYZ | xyz(9.9623, 6.9255, 39.3319) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.07
Blue Blue
#2242C7
ΔE00 3.78
Cobalt
#0047AB
ΔE00 4.26
Blueberry
#464196
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.58
Cobalt (survey)
#1E488F
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273FAB #AB9327
analogous
#2781AB #273FAB #5127AB
triadic
#273FAB #AB273F #3FAB27
tetradic
#273FAB #AB2781 #AB9327 #27AB51
square
#273FAB #AB2781 #AB9327 #27AB51
split-complementary
#273FAB #AB5127 #81AB27
monochromatic
#101A47 #1C2D79 #273FAB #3D58D3 #6E83DE
Accessibility & contrast
On white
8.80
#273FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#273FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273FAB
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273FAB | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #273fab; /* rgb */ color: rgb(39, 63, 171); /* oklch */ color: oklch(42.2% 0.174 268.1);
Tailwind
colors: {
custom: {
50: '#7673c5',
500: '#273fab',
950: '#000000',
},
}SCSS
$custom: #273fab; $custom-light: #7673c5; $custom-dark: #000000;
JSON
{
"hex": "#273fab",
"rgb": {
"r": 39,
"g": 63,
"b": 171
},
"hsl": {
"h": 229.091,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.42247,
"c": 0.17448,
"h": 268.1
},
"luminance": 0.06927
}Semantic roles & 50–950 ramp
primary
#273FAB
secondary
#C5B469
accent
#C842E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82