#3A4EC9#3A4EC9

#3A4EC9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.191 H 270.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3A4EC9
RGBrgb(58, 78, 201)
HSLhsl(232, 57%, 51%)
HSVhsv(232, 71%, 79%)
CMYKcmyk(71.1%, 61.2%, 0%, 21.2%)
CIE-LABlab(38.84, 33.89, -66.17)
CIE-LCHlch(38.84, 74.34, 297.12°)
OKLaboklab(48.6% 0.0015 -0.191)
OKLCHoklch(48.6% 0.191 270.4)
XYZxyz(15.0083, 10.5638, 56.4951)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EC9 #C9B53A
analogous
#3A96C9 #3A4EC9 #6D3AC9
triadic
#3A4EC9 #C93A4E #4EC93A
tetradic
#3A4EC9 #C93A96 #C9B53A #3AC96D
square
#3A4EC9 #C93A96 #C9B53A #3AC96D
split-complementary
#3A4EC9 #C96D3A #96C93A
monochromatic
#1D286B #2B3A9B #3A4EC9 #6A79D6 #9AA4E3

Accessibility & contrast

On white

6.75
#3A4EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3A4EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4EC9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EC9#FFFFFF#000000##FFFFFF
##3A4EC91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4ec9;
/* rgb */ color: rgb(58, 78, 201);
/* oklch */ color: oklch(48.6% 0.191 270.4);
Tailwind
colors: {
  custom: {
    50: '#837fda',
    500: '#3a4ec9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ec9;
$custom-light: #837fda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ec9",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 231.608,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.19102,
    "h": 270.4
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#3A4EC9
secondary
#CFC690
accent
#CB48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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