#3F4E9B#3F4E9B
#3F4E9B is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.126 H 272.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4E9B |
|---|---|
| RGB | rgb(63, 78, 155) |
| HSL | hsl(230, 42%, 43%) |
| HSV | hsv(230, 59%, 61%) |
| CMYK | cmyk(59.4%, 49.7%, 0%, 39.2%) |
| CIE-LAB | lab(35.74, 18.34, -43.98) |
| CIE-LCH | lch(35.74, 47.66, 292.64°) |
| OKLab | oklab(45.29% 0.0048 -0.1257) |
| OKLCH | oklch(45.29% 0.126 272.2) |
| XYZ | xyz(10.6887, 8.8713, 32.1531) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.73
Blueberry
#464196
ΔE00 5.11
Cobalt (survey)
#1E488F
ΔE00 5.16
Denim Blue
#3B5B92
ΔE00 5.60
Cobalt
#0047AB
ΔE00 5.62
Dusky Blue
#475F94
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4E9B #9B8C3F
analogous
#3F7C9B #3F4E9B #5E3F9B
triadic
#3F4E9B #9B3F4E #4E9B3F
tetradic
#3F4E9B #9B3F7C #9B8C3F #3F9B5E
square
#3F4E9B #9B3F7C #9B8C3F #3F9B5E
split-complementary
#3F4E9B #9B5E3F #7C9B3F
monochromatic
#1C2244 #2D386F #3F4E9B #5B6BBC #8692CE
Accessibility & contrast
On white
7.57
#3F4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#3F4E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4E9B
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4E9B | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3f4e9b; /* rgb */ color: rgb(63, 78, 155); /* oklch */ color: oklch(45.3% 0.126 272.2);
Tailwind
colors: {
custom: {
50: '#7c7fb9',
500: '#3f4e9b',
950: '#000000',
},
}SCSS
$custom: #3f4e9b; $custom-light: #7c7fb9; $custom-dark: #000000;
JSON
{
"hex": "#3f4e9b",
"rgb": {
"r": 63,
"g": 78,
"b": 155
},
"hsl": {
"h": 230.217,
"s": 42.202,
"l": 42.745
},
"oklch": {
"l": 0.45289,
"c": 0.12577,
"h": 272.2
},
"luminance": 0.08872
}Semantic roles & 50–950 ramp
primary
#3F4E9B
secondary
#B8AF7D
accent
#BE56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80