#3A3FC8#3A3FC8

#3A3FC8 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.207 H 273.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3A3FC8
RGBrgb(58, 63, 200)
HSLhsl(238, 56%, 51%)
HSVhsv(238, 71%, 78%)
CMYKcmyk(71%, 68.5%, 0%, 21.6%)
CIE-LABlab(35.25, 42.81, -71.46)
CIE-LCHlch(35.25, 83.30, 300.92°)
OKLaboklab(45.95% 0.0115 -0.2066)
OKLCHoklch(45.95% 0.207 273.2)
XYZxyz(13.9443, 8.6233, 55.5620)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC8 #C8C33A
analogous
#3A86C8 #3A3FC8 #7C3AC8
triadic
#3A3FC8 #C83A3F #3FC83A
tetradic
#3A3FC8 #C83A86 #C8C33A #3AC87C
square
#3A3FC8 #C83A86 #C8C33A #3AC87C
split-complementary
#3A3FC8 #C87C3A #86C83A
monochromatic
#1E206A #2B2F9A #3A3FC8 #6A6ED5 #9A9CE3

Accessibility & contrast

On white

7.71
#3A3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A3FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC8#FFFFFF#000000##FFFFFF
##3A3FC81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3fc8;
/* rgb */ color: rgb(58, 63, 200);
/* oklch */ color: oklch(46.0% 0.207 273.2);
Tailwind
colors: {
  custom: {
    50: '#8475da',
    500: '#3a3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc8;
$custom-light: #8475da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc8",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 237.887,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.20692,
    "h": 273.2
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#3A3FC8
secondary
#CECC8F
accent
#DA48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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