#3A3DCB#3A3DCB

#3A3DCB is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.9% C 0.213 H 273.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3A3DCB
RGBrgb(58, 61, 203)
HSLhsl(239, 58%, 51%)
HSVhsv(239, 71%, 80%)
CMYKcmyk(71.4%, 70%, 0%, 20.4%)
CIE-LABlab(35.10, 45.00, -73.46)
CIE-LCHlch(35.10, 86.14, 301.49°)
OKLaboklab(45.93% 0.0122 -0.2124)
OKLCHoklch(45.93% 0.213 273.3)
XYZxyz(14.1896, 8.5474, 57.3903)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DCB #CBC83A
analogous
#3A85CB #3A3DCB #7F3ACB
triadic
#3A3DCB #CB3A3D #3DCB3A
tetradic
#3A3DCB #CB3A85 #CBC83A #3ACB7F
square
#3A3DCB #CB3A85 #CBC83A #3ACB7F
split-complementary
#3A3DCB #CB7F3A #85CB3A
monochromatic
#1D1F6E #2A2C9E #3A3DCB #6A6DD8 #9B9CE5

Accessibility & contrast

On white

7.75
#3A3DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A3DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DCB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DCB#FFFFFF#000000##FFFFFF
##3A3DCB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004CC8
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3dcb;
/* rgb */ color: rgb(58, 61, 203);
/* oklch */ color: oklch(45.9% 0.213 273.3);
Tailwind
colors: {
  custom: {
    50: '#8573dc',
    500: '#3a3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dcb;
$custom-light: #8573dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dcb",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 238.759,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.21278,
    "h": 273.3
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#3A3DCB
secondary
#D0CF90
accent
#DE46E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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