#3156AF#3156AF
#3156AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.148 H 264.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3156AF |
|---|---|
| RGB | rgb(49, 86, 175) |
| HSL | hsl(222, 56%, 44%) |
| HSV | hsv(222, 72%, 69%) |
| CMYK | cmyk(72%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(38.56, 17.96, -51.42) |
| CIE-LCH | lch(38.56, 54.47, 289.25°) |
| OKLab | oklab(47.66% -0.0143 -0.1477) |
| OKLCH | oklch(47.66% 0.148 264.5) |
| XYZ | xyz(12.3295, 10.4024, 41.9072) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Denim Blue
#3B5B92
ΔE00 4.24
Denim
#1560BD
ΔE00 4.88
Cobalt
#0047AB
ΔE00 5.06
Dusk Blue
#26538D
ΔE00 5.09
Dusky Blue
#475F94
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3156AF #AF8A31
analogous
#3195AF #3156AF #4B31AF
triadic
#3156AF #AF3156 #56AF31
tetradic
#3156AF #AF3195 #AF8A31 #31AF4B
square
#3156AF #AF3195 #AF8A31 #31AF4B
split-complementary
#3156AF #AF4B31 #95AF31
monochromatic
#16274F #243F7F #3156AF #4F75CE #7F9ADB
Accessibility & contrast
On white
6.82
#3156AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3156AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3156AF
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3156AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3156AF | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3156af; /* rgb */ color: rgb(49, 86, 175); /* oklch */ color: oklch(47.7% 0.148 264.5);
Tailwind
colors: {
custom: {
50: '#7985c7',
500: '#3156af',
950: '#000000',
},
}SCSS
$custom: #3156af; $custom-light: #7985c7; $custom-dark: #000000;
JSON
{
"hex": "#3156af",
"rgb": {
"r": 49,
"g": 86,
"b": 175
},
"hsl": {
"h": 222.381,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.4766,
"c": 0.14842,
"h": 264.5
},
"luminance": 0.10404
}Semantic roles & 50–950 ramp
primary
#3156AF
secondary
#C4AE78
accent
#B348E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82