#3145B1#3145B1
#3145B1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.172 H 269.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3145B1 |
|---|---|
| RGB | rgb(49, 69, 177) |
| HSL | hsl(231, 57%, 44%) |
| HSV | hsv(231, 72%, 69%) |
| CMYK | cmyk(72.3%, 61%, 0%, 30.6%) |
| CIE-LAB | lab(34.15, 29.88, -59.75) |
| CIE-LCH | lch(34.15, 66.80, 296.57°) |
| OKLab | oklab(44.4% -0.0005 -0.1725) |
| OKLCH | oklch(44.4% 0.172 269.8) |
| XYZ | xyz(11.3278, 8.0824, 42.5495) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.05
Sapphire (survey)
#2138AB
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.19
Ocean Blue
#4F42B5
ΔE00 4.75
Blueberry
#464196
ΔE00 5.41
Blue (survey)
#0343DF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3145B1 #B19D31
analogous
#3185B1 #3145B1 #5D31B1
triadic
#3145B1 #B13145 #45B131
tetradic
#3145B1 #B13185 #B19D31 #31B15D
square
#3145B1 #B13185 #B19D31 #31B15D
split-complementary
#3145B1 #B15D31 #85B131
monochromatic
#162051 #243281 #3145B1 #5164CF #808FDC
Accessibility & contrast
On white
8.03
#3145B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#3145B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3145B1
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3145B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3145B1 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3145b1; /* rgb */ color: rgb(49, 69, 177); /* oklch */ color: oklch(44.4% 0.172 269.8);
Tailwind
colors: {
custom: {
50: '#7b78c9',
500: '#3145b1',
950: '#000000',
},
}SCSS
$custom: #3145b1; $custom-light: #7b78c9; $custom-dark: #000000;
JSON
{
"hex": "#3145b1",
"rgb": {
"r": 49,
"g": 69,
"b": 177
},
"hsl": {
"h": 230.625,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.44399,
"c": 0.17247,
"h": 269.8
},
"luminance": 0.08084
}Semantic roles & 50–950 ramp
primary
#3145B1
secondary
#C5B979
accent
#C848E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82