#335BB1#335BB1
#335BB1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.144 H 263.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #335BB1 |
|---|---|
| RGB | rgb(51, 91, 177) |
| HSL | hsl(221, 55%, 45%) |
| HSV | hsv(221, 71%, 69%) |
| CMYK | cmyk(71.2%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(40.18, 15.73, -49.98) |
| CIE-LCH | lch(40.18, 52.40, 287.47°) |
| OKLab | oklab(48.97% -0.0168 -0.1434) |
| OKLCH | oklch(48.97% 0.144 263.3) |
| XYZ | xyz(13.0393, 11.3589, 43.0918) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.41
Denim
#1560BD
ΔE00 3.52
Denim Blue
#3B5B92
ΔE00 3.97
Dusky Blue
#475F94
ΔE00 4.82
French Blue
#436BAD
ΔE00 5.48
Denim (survey)
#3B638C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335BB1 #B18933
analogous
#339AB1 #335BB1 #4A33B1
triadic
#335BB1 #B1335B #5BB133
tetradic
#335BB1 #B1339A #B18933 #33B14A
square
#335BB1 #B1339A #B18933 #33B14A
split-complementary
#335BB1 #B14A33 #9AB133
monochromatic
#182A52 #254381 #335BB1 #547ACE #839FDB
Accessibility & contrast
On white
6.42
#335BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#335BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #335BB1
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335BB1 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B4
Deuteranopia (green-blind)
#0659AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #335bb1; /* rgb */ color: rgb(51, 91, 177); /* oklch */ color: oklch(49.0% 0.144 263.3);
Tailwind
colors: {
custom: {
50: '#7a88c9',
500: '#335bb1',
950: '#000000',
},
}SCSS
$custom: #335bb1; $custom-light: #7a88c9; $custom-dark: #000000;
JSON
{
"hex": "#335bb1",
"rgb": {
"r": 51,
"g": 91,
"b": 177
},
"hsl": {
"h": 220.952,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.48966,
"c": 0.14436,
"h": 263.3
},
"luminance": 0.1136
}Semantic roles & 50–950 ramp
primary
#335BB1
secondary
#C5AD7B
accent
#AF49DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82