#3A41C8#3A41C8

#3A41C8 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.3% C 0.205 H 272.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3A41C8
RGBrgb(58, 65, 200)
HSLhsl(237, 56%, 51%)
HSVhsv(237, 71%, 78%)
CMYKcmyk(71%, 67.5%, 0%, 21.6%)
CIE-LABlab(35.69, 41.61, -70.73)
CIE-LCHlch(35.69, 82.06, 300.46°)
OKLaboklab(46.27% 0.0102 -0.2045)
OKLCHoklch(46.27% 0.205 272.9)
XYZxyz(14.0570, 8.8489, 55.5996)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41C8 #C8C13A
analogous
#3A88C8 #3A41C8 #7A3AC8
triadic
#3A41C8 #C83A41 #41C83A
tetradic
#3A41C8 #C83A88 #C8C13A #3AC87A
square
#3A41C8 #C83A88 #C8C13A #3AC87A
split-complementary
#3A41C8 #C87A3A #88C83A
monochromatic
#1E216A #2B309A #3A41C8 #6A6FD5 #9A9DE3

Accessibility & contrast

On white

7.58
#3A41C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A41C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41C8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41C8#FFFFFF#000000##FFFFFF
##3A41C81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a41c8;
/* rgb */ color: rgb(58, 65, 200);
/* oklch */ color: oklch(46.3% 0.205 272.9);
Tailwind
colors: {
  custom: {
    50: '#8476da',
    500: '#3a41c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a41c8;
$custom-light: #8476da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41c8",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 237.042,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46274,
    "c": 0.20473,
    "h": 272.9
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#3A41C8
secondary
#CECB8F
accent
#D848E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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