#3A4DC9#3A4DC9

#3A4DC9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.192 H 270.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3A4DC9
RGBrgb(58, 77, 201)
HSLhsl(232, 57%, 51%)
HSVhsv(232, 71%, 79%)
CMYKcmyk(71.1%, 61.7%, 0%, 21.2%)
CIE-LABlab(38.59, 34.52, -66.57)
CIE-LCHlch(38.59, 74.99, 297.41°)
OKLaboklab(48.42% 0.0022 -0.1922)
OKLCHoklch(48.42% 0.192 270.7)
XYZxyz(14.9378, 10.4228, 56.4716)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DC9 #C9B63A
analogous
#3A94C9 #3A4DC9 #6E3AC9
triadic
#3A4DC9 #C93A4D #4DC93A
tetradic
#3A4DC9 #C93A94 #C9B63A #3AC96E
square
#3A4DC9 #C93A94 #C9B63A #3AC96E
split-complementary
#3A4DC9 #C96E3A #94C93A
monochromatic
#1D286B #2B3A9B #3A4DC9 #6A78D6 #9AA4E3

Accessibility & contrast

On white

6.81
#3A4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3A4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DC9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DC9#FFFFFF#000000##FFFFFF
##3A4DC91.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a4dc9;
/* rgb */ color: rgb(58, 77, 201);
/* oklch */ color: oklch(48.4% 0.192 270.7);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#3a4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dc9;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dc9",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 232.028,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.19221,
    "h": 270.7
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#3A4DC9
secondary
#CFC790
accent
#CC48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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