#273FAF#273FAF
#273FAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.180 H 268.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #273FAF |
|---|---|
| RGB | rgb(39, 63, 175) |
| HSL | hsl(229, 64%, 42%) |
| HSV | hsv(229, 78%, 69%) |
| CMYK | cmyk(77.7%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(31.99, 31.91, -62.12) |
| CIE-LCH | lch(31.99, 69.83, 297.19°) |
| OKLab | oklab(42.61% -0.0059 -0.1797) |
| OKLCH | oklch(42.61% 0.18 268.1) |
| XYZ | xyz(10.3494, 7.0803, 41.3703) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.07
Blue Blue
#2242C7
ΔE00 3.24
Cobalt
#0047AB
ΔE00 4.45
Ocean Blue
#4F42B5
ΔE00 5.30
Blueberry
#464196
ΔE00 5.58
Blue (survey)
#0343DF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273FAF #AF9727
analogous
#2783AF #273FAF #5327AF
triadic
#273FAF #AF273F #3FAF27
tetradic
#273FAF #AF2783 #AF9727 #27AF53
square
#273FAF #AF2783 #AF9727 #27AF53
split-complementary
#273FAF #AF5327 #83AF27
monochromatic
#111B4B #1C2D7D #273FAF #3F59D4 #7185DF
Accessibility & contrast
On white
8.69
#273FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#273FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273FAF
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273FAF | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #273faf; /* rgb */ color: rgb(39, 63, 175); /* oklch */ color: oklch(42.6% 0.180 268.1);
Tailwind
colors: {
custom: {
50: '#7774c8',
500: '#273faf',
950: '#000000',
},
}SCSS
$custom: #273faf; $custom-light: #7774c8; $custom-dark: #000000;
JSON
{
"hex": "#273faf",
"rgb": {
"r": 39,
"g": 63,
"b": 175
},
"hsl": {
"h": 229.412,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.42615,
"c": 0.17978,
"h": 268.1
},
"luminance": 0.07081
}Semantic roles & 50–950 ramp
primary
#273FAF
secondary
#C6B66B
accent
#C941E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82