#272B9F#272B9F
#272B9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.182 H 272.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #272B9F |
|---|---|
| RGB | rgb(39, 43, 159) |
| HSL | hsl(238, 61%, 39%) |
| HSV | hsv(238, 75%, 62%) |
| CMYK | cmyk(75.5%, 73%, 0%, 37.6%) |
| CIE-LAB | lab(25.75, 38.78, -62.74) |
| CIE-LCH | lch(25.75, 73.75, 301.72°) |
| OKLab | oklab(37.61% 0.0066 -0.1816) |
| OKLCH | oklch(37.61% 0.182 272.1) |
| XYZ | xyz(7.9565, 4.6615, 33.2746) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.99
Royal
#0C1793
ΔE00 4.98
Indigo Blue
#3A18B1
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 6.16
Royal Blue (survey)
#0504AA
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272B9F #9F9B27
analogous
#27679F #272B9F #5F279F
triadic
#272B9F #9F272B #2B9F27
tetradic
#272B9F #9F2767 #9F9B27 #279F5F
square
#272B9F #9F2767 #9F9B27 #279F5F
split-complementary
#272B9F #9F5F27 #679F27
monochromatic
#0F103D #1B1E6E #272B9F #363BCE #676BDA
Accessibility & contrast
On white
10.87
#272B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#272B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272B9F
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272B9F | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #272b9f; /* rgb */ color: rgb(39, 43, 159); /* oklch */ color: oklch(37.6% 0.182 272.1);
Tailwind
colors: {
custom: {
50: '#7565bd',
500: '#272b9f',
950: '#000000',
},
}SCSS
$custom: #272b9f; $custom-light: #7565bd; $custom-dark: #000000;
JSON
{
"hex": "#272b9f",
"rgb": {
"r": 39,
"g": 43,
"b": 159
},
"hsl": {
"h": 238,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.37614,
"c": 0.18168,
"h": 272.1
},
"luminance": 0.04662
}Semantic roles & 50–950 ramp
primary
#272B9F
secondary
#C0BC62
accent
#DE44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81