#3A41CD#3A41CD

#3A41CD is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.7% C 0.211 H 272.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3A41CD
RGBrgb(58, 65, 205)
HSLhsl(237, 60%, 52%)
HSVhsv(237, 72%, 80%)
CMYKcmyk(71.7%, 68.3%, 0%, 19.6%)
CIE-LABlab(36.15, 43.30, -72.89)
CIE-LCHlch(36.15, 84.78, 300.72°)
OKLaboklab(46.75% 0.0097 -0.2108)
OKLCHoklch(46.75% 0.211 272.6)
XYZxyz(14.6510, 9.0864, 58.7275)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41CD #CDC63A
analogous
#3A8BCD #3A41CD #7D3ACD
triadic
#3A41CD #CD3A41 #41CD3A
tetradic
#3A41CD #CD3A8B #CDC63A #3ACD7D
square
#3A41CD #CD3A8B #CDC63A #3ACD7D
split-complementary
#3A41CD #CD7D3A #8BCD3A
monochromatic
#1C2070 #292FA1 #3A41CD #6B70D9 #9C9FE6

Accessibility & contrast

On white

7.45
#3A41CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A41CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41CD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41CD#FFFFFF#000000##FFFFFF
##3A41CD1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#004ECA
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a41cd;
/* rgb */ color: rgb(58, 65, 205);
/* oklch */ color: oklch(46.7% 0.211 272.6);
Tailwind
colors: {
  custom: {
    50: '#8576dd',
    500: '#3a41cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a41cd;
$custom-light: #8576dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41cd",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 237.143,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.21098,
    "h": 272.6
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#3A41CD
secondary
#D2CF91
accent
#DB45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A41CD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3A41CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva