#3A41CB#3A41CB

#3A41CB is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.6% C 0.208 H 272.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3A41CB
RGBrgb(58, 65, 203)
HSLhsl(237, 58%, 51%)
HSVhsv(237, 71%, 80%)
CMYKcmyk(71.4%, 68%, 0%, 20.4%)
CIE-LABlab(35.97, 42.63, -72.03)
CIE-LCHlch(35.97, 83.70, 300.62°)
OKLaboklab(46.56% 0.0099 -0.2083)
OKLCHoklch(46.56% 0.209 272.7)
XYZxyz(14.4111, 8.9905, 57.4642)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41CB #CBC43A
analogous
#3A89CB #3A41CB #7B3ACB
triadic
#3A41CB #CB3A41 #41CB3A
tetradic
#3A41CB #CB3A89 #CBC43A #3ACB7B
square
#3A41CB #CB3A89 #CBC43A #3ACB7B
split-complementary
#3A41CB #CB7B3A #89CB3A
monochromatic
#1D216E #2A2F9E #3A41CB #6A70D8 #9B9EE5

Accessibility & contrast

On white

7.50
#3A41CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A41CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41CB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41CB#FFFFFF#000000##FFFFFF
##3A41CB1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#004EC8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a41cb;
/* rgb */ color: rgb(58, 65, 203);
/* oklch */ color: oklch(46.6% 0.208 272.7);
Tailwind
colors: {
  custom: {
    50: '#8576dc',
    500: '#3a41cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a41cb;
$custom-light: #8576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41cb",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 237.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.2085,
    "h": 272.7
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#3A41CB
secondary
#D0CD90
accent
#DA46E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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