#3A4BC9#3A4BC9

#3A4BC9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.195 H 271.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3A4BC9
RGBrgb(58, 75, 201)
HSLhsl(233, 57%, 51%)
HSVhsv(233, 71%, 79%)
CMYKcmyk(71.1%, 62.7%, 0%, 21.2%)
CIE-LABlab(38.11, 35.78, -67.36)
CIE-LCHlch(38.11, 76.27, 297.98°)
OKLaboklab(48.06% 0.0036 -0.1945)
OKLCHoklch(48.06% 0.195 271.1)
XYZxyz(14.8000, 10.1473, 56.4257)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BC9 #C9B83A
analogous
#3A92C9 #3A4BC9 #703AC9
triadic
#3A4BC9 #C93A4B #4BC93A
tetradic
#3A4BC9 #C93A92 #C9B83A #3AC970
square
#3A4BC9 #C93A92 #C9B83A #3AC970
split-complementary
#3A4BC9 #C9703A #92C93A
monochromatic
#1D276B #2B389B #3A4BC9 #6A77D6 #9AA3E3

Accessibility & contrast

On white

6.93
#3A4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3A4BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4BC9
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BC9#FFFFFF#000000##FFFFFF
##3A4BC91.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4bc9;
/* rgb */ color: rgb(58, 75, 201);
/* oklch */ color: oklch(48.1% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#837dda',
    500: '#3a4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bc9;
$custom-light: #837dda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bc9",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 232.867,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.19457,
    "h": 271.1
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#3A4BC9
secondary
#CFC890
accent
#CE48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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