#3A3ECB#3A3ECB

#3A3ECB is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.1% C 0.212 H 273.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3A3ECB
RGBrgb(58, 62, 203)
HSLhsl(238, 58%, 51%)
HSVhsv(238, 71%, 80%)
CMYKcmyk(71.4%, 69.5%, 0%, 20.4%)
CIE-LABlab(35.31, 44.41, -73.10)
CIE-LCHlch(35.31, 85.54, 301.28°)
OKLaboklab(46.08% 0.0117 -0.2114)
OKLCHoklch(46.08% 0.212 273.2)
XYZxyz(14.2434, 8.6552, 57.4083)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ECB #CBC73A
analogous
#3A86CB #3A3ECB #7E3ACB
triadic
#3A3ECB #CB3A3E #3ECB3A
tetradic
#3A3ECB #CB3A86 #CBC73A #3ACB7E
square
#3A3ECB #CB3A86 #CBC73A #3ACB7E
split-complementary
#3A3ECB #CB7E3A #86CB3A
monochromatic
#1D1F6E #2A2D9E #3A3ECB #6A6DD8 #9B9DE5

Accessibility & contrast

On white

7.69
#3A3ECB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A3ECB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ECB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ECB#FFFFFF#000000##FFFFFF
##3A3ECB1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#004CC8
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3ecb;
/* rgb */ color: rgb(58, 62, 203);
/* oklch */ color: oklch(46.1% 0.212 273.2);
Tailwind
colors: {
  custom: {
    50: '#8574dc',
    500: '#3a3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ecb;
$custom-light: #8574dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ecb",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 238.345,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.21172,
    "h": 273.2
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#3A3ECB
secondary
#D0CF90
accent
#DD46E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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