#2F38CF#2F38CF
#2F38CF is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.225 H 270.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F38CF |
|---|---|
| RGB | rgb(47, 56, 207) |
| HSL | hsl(237, 63%, 50%) |
| HSV | hsv(237, 77%, 81%) |
| CMYK | cmyk(77.3%, 72.9%, 0%, 18.8%) |
| CIE-LAB | lab(33.85, 48.21, -77.86) |
| CIE-LCH | lch(33.85, 91.58, 301.77°) |
| OKLab | oklab(44.99% 0.0022 -0.2255) |
| OKLCH | oklch(44.99% 0.225 270.6) |
| XYZ | xyz(13.8451, 7.9361, 59.8215) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.35
Blue (survey)
#0343DF
ΔE00 3.91
Blue With A Hint Of Purple
#533CC6
ΔE00 3.94
Blurple
#5539CC
ΔE00 4.08
Vibrant Blue
#0339F8
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F38CF #CFC62F
analogous
#2F88CF #2F38CF #762FCF
triadic
#2F38CF #CF2F38 #38CF2F
tetradic
#2F38CF #CF2F88 #CFC62F #2FCF76
square
#2F38CF #CF2F88 #CFC62F #2FCF76
split-complementary
#2F38CF #CF762F #88CF2F
monochromatic
#181D6B #242B9D #2F38CF #6067DB #9297E6
Accessibility & contrast
On white
8.12
#2F38CF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2F38CF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F38CF
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F38CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F38CF | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D3
Deuteranopia (green-blind)
#0048CC
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f38cf; /* rgb */ color: rgb(47, 56, 207); /* oklch */ color: oklch(45.0% 0.225 270.6);
Tailwind
colors: {
custom: {
50: '#8270df',
500: '#2f38cf',
950: '#000000',
},
}SCSS
$custom: #2f38cf; $custom-light: #8270df; $custom-dark: #000000;
JSON
{
"hex": "#2f38cf",
"rgb": {
"r": 47,
"g": 56,
"b": 207
},
"hsl": {
"h": 236.625,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.44992,
"c": 0.22548,
"h": 270.6
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#2F38CF
secondary
#D1CD89
accent
#DD42E6
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83