#3A4FCB#3A4FCB
#3A4FCB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.192 H 270.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FCB |
|---|---|
| RGB | rgb(58, 79, 203) |
| HSL | hsl(231, 58%, 51%) |
| HSV | hsv(231, 71%, 80%) |
| CMYK | cmyk(71.4%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(39.24, 33.97, -66.66) |
| CIE-LCH | lch(39.24, 74.81, 297.00°) |
| OKLab | oklab(48.96% 0.0007 -0.1924) |
| OKLCH | oklch(48.96% 0.192 270.2) |
| XYZ | xyz(15.3167, 10.8017, 57.7661) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.83
Blue Blue
#2242C7
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.91
Iris
#6258C4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FCB #CBB63A
analogous
#3A97CB #3A4FCB #6D3ACB
triadic
#3A4FCB #CB3A4F #4FCB3A
tetradic
#3A4FCB #CB3A97 #CBB63A #3ACB6D
square
#3A4FCB #CB3A97 #CBB63A #3ACB6D
split-complementary
#3A4FCB #CB6D3A #97CB3A
monochromatic
#1D296E #2A3B9E #3A4FCB #6A7AD8 #9BA6E5
Accessibility & contrast
On white
6.64
#3A4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3A4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A4FCB
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FCB | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3a4fcb; /* rgb */ color: rgb(58, 79, 203); /* oklch */ color: oklch(49.0% 0.192 270.2);
Tailwind
colors: {
custom: {
50: '#8380dc',
500: '#3a4fcb',
950: '#000000',
},
}SCSS
$custom: #3a4fcb; $custom-light: #8380dc; $custom-dark: #000000;
JSON
{
"hex": "#3a4fcb",
"rgb": {
"r": 58,
"g": 79,
"b": 203
},
"hsl": {
"h": 231.31,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.48955,
"c": 0.19244,
"h": 270.2
},
"luminance": 0.10803
}Semantic roles & 50–950 ramp
primary
#3A4FCB
secondary
#D0C790
accent
#CB46E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83