#1B339F#1B339F
#1B339F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.176 H 267.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1B339F |
|---|---|
| RGB | rgb(27, 51, 159) |
| HSL | hsl(229, 71%, 36%) |
| HSV | hsv(229, 83%, 62%) |
| CMYK | cmyk(83%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.03, 32.67, -60.65) |
| CIE-LCH | lch(27.03, 68.89, 298.31°) |
| OKLab | oklab(38.38% -0.009 -0.1757) |
| OKLCH | oklch(38.38% 0.176 267.1) |
| XYZ | xyz(7.8916, 5.1029, 33.3632) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.13
Blueberry
#464196
ΔE00 6.34
Blue Blue
#2242C7
ΔE00 6.68
Cobalt
#0047AB
ΔE00 6.97
Royal
#0C1793
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B339F #9F871B
analogous
#1B759F #1B339F #451B9F
triadic
#1B339F #9F1B33 #339F1B
tetradic
#1B339F #9F1B75 #9F871B #1B9F45
square
#1B339F #9F1B75 #9F871B #1B9F45
split-complementary
#1B339F #9F451B #759F1B
monochromatic
#091136 #12226B #1B339F #2444D3 #536DE2
Accessibility & contrast
On white
10.39
#1B339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#1B339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B339F
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B339F | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1b339f; /* rgb */ color: rgb(27, 51, 159); /* oklch */ color: oklch(38.4% 0.176 267.1);
Tailwind
colors: {
custom: {
50: '#716abc',
500: '#1b339f',
950: '#000000',
},
}SCSS
$custom: #1b339f; $custom-light: #716abc; $custom-dark: #000000;
JSON
{
"hex": "#1b339f",
"rgb": {
"r": 27,
"g": 51,
"b": 159
},
"hsl": {
"h": 229.091,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.38381,
"c": 0.17594,
"h": 267.1
},
"luminance": 0.05104
}Semantic roles & 50–950 ramp
primary
#1B339F
secondary
#C5B051
accent
#CD3AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81