#3A3FCA#3A3FCA

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

Color values

HEX#3A3FCA
RGBrgb(58, 63, 202)
HSLhsl(238, 58%, 51%)
HSVhsv(238, 71%, 79%)
CMYKcmyk(71.3%, 68.8%, 0%, 20.8%)
CIE-LABlab(35.43, 43.48, -72.32)
CIE-LCHlch(35.43, 84.39, 301.02°)
OKLaboklab(46.14% 0.0112 -0.2091)
OKLCHoklch(46.14% 0.209 273.1)
XYZxyz(14.1795, 8.7174, 56.8010)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FCA #CAC53A
analogous
#3A87CA #3A3FCA #7D3ACA
triadic
#3A3FCA #CA3A3F #3FCA3A
tetradic
#3A3FCA #CA3A87 #CAC53A #3ACA7D
square
#3A3FCA #CA3A87 #CAC53A #3ACA7D
split-complementary
#3A3FCA #CA7D3A #87CA3A
monochromatic
#1D206C #2A2E9D #3A3FCA #6A6ED7 #9A9DE4

Accessibility & contrast

On white

7.65
#3A3FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3A3FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FCA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FCA#FFFFFF#000000##FFFFFF
##3A3FCA1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3fca;
/* rgb */ color: rgb(58, 63, 202);
/* oklch */ color: oklch(46.1% 0.209 273.1);
Tailwind
colors: {
  custom: {
    50: '#8475db',
    500: '#3a3fca',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fca;
$custom-light: #8475db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fca",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 237.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.20941,
    "h": 273.1
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#3A3FCA
secondary
#D0CE90
accent
#DB47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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