#3A3FC9#3A3FC9

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

Color values

HEX#3A3FC9
RGBrgb(58, 63, 201)
HSLhsl(238, 57%, 51%)
HSVhsv(238, 71%, 79%)
CMYKcmyk(71.1%, 68.7%, 0%, 21.2%)
CIE-LABlab(35.34, 43.15, -71.89)
CIE-LCHlch(35.34, 83.84, 300.97°)
OKLaboklab(46.05% 0.0113 -0.2079)
OKLCHoklch(46.05% 0.208 273.1)
XYZxyz(14.0615, 8.6702, 56.1795)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC9 #C9C43A
analogous
#3A86C9 #3A3FC9 #7C3AC9
triadic
#3A3FC9 #C93A3F #3FC93A
tetradic
#3A3FC9 #C93A86 #C9C43A #3AC97C
square
#3A3FC9 #C93A86 #C9C43A #3AC97C
split-complementary
#3A3FC9 #C97C3A #86C93A
monochromatic
#1D206B #2B2E9B #3A3FC9 #6A6ED6 #9A9DE3

Accessibility & contrast

On white

7.68
#3A3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3FC9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC9#FFFFFF#000000##FFFFFF
##3A3FC91.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3fc9;
/* rgb */ color: rgb(58, 63, 201);
/* oklch */ color: oklch(46.0% 0.208 273.1);
Tailwind
colors: {
  custom: {
    50: '#8475db',
    500: '#3a3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc9;
$custom-light: #8475db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc9",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 237.902,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.20817,
    "h": 273.1
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#3A3FC9
secondary
#CFCD90
accent
#DB48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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