#3145B9#3145B9
#3145B9 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.183 H 269.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3145B9 |
|---|---|
| RGB | rgb(49, 69, 185) |
| HSL | hsl(231, 58%, 46%) |
| HSV | hsv(231, 74%, 73%) |
| CMYK | cmyk(73.5%, 62.7%, 0%, 27.5%) |
| CIE-LAB | lab(34.82, 32.80, -63.39) |
| CIE-LCH | lch(34.82, 71.37, 297.36°) |
| OKLab | oklab(45.1% -0.0007 -0.1831) |
| OKLCH | oklch(45.1% 0.183 269.8) |
| XYZ | xyz(12.1487, 8.4107, 46.8727) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.06
Sapphire (survey)
#2138AB
ΔE00 4.20
Ocean Blue
#4F42B5
ΔE00 4.42
Blue (survey)
#0343DF
ΔE00 4.66
Cobalt
#0047AB
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3145B9 #B9A531
analogous
#3189B9 #3145B9 #6131B9
triadic
#3145B9 #B93145 #45B931
tetradic
#3145B9 #B93189 #B9A531 #31B961
square
#3145B9 #B93189 #B9A531 #31B961
split-complementary
#3145B9 #B96131 #89B931
monochromatic
#172158 #243389 #3145B9 #5568D2 #8693DF
Accessibility & contrast
On white
7.83
#3145B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#3145B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3145B9
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3145B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3145B9 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3145b9; /* rgb */ color: rgb(49, 69, 185); /* oklch */ color: oklch(45.1% 0.183 269.8);
Tailwind
colors: {
custom: {
50: '#7d78cf',
500: '#3145b9',
950: '#000000',
},
}SCSS
$custom: #3145b9; $custom-light: #7d78cf; $custom-dark: #000000;
JSON
{
"hex": "#3145b9",
"rgb": {
"r": 49,
"g": 69,
"b": 185
},
"hsl": {
"h": 231.176,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.45103,
"c": 0.18314,
"h": 269.8
},
"luminance": 0.08412
}Semantic roles & 50–950 ramp
primary
#3145B9
secondary
#C8BD7D
accent
#CB46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82