#3A4FC9#3A4FC9

#3A4FC9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.190 H 270.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#3A4FC9
RGBrgb(58, 79, 201)
HSLhsl(231, 57%, 51%)
HSVhsv(231, 71%, 79%)
CMYKcmyk(71.1%, 60.7%, 0%, 21.2%)
CIE-LABlab(39.08, 33.26, -65.76)
CIE-LCHlch(39.08, 73.69, 296.82°)
OKLaboklab(48.79% 0.0008 -0.1898)
OKLCHoklch(48.79% 0.19 270.2)
XYZxyz(15.0799, 10.7070, 56.5189)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FC9 #C9B43A
analogous
#3A96C9 #3A4FC9 #6C3AC9
triadic
#3A4FC9 #C93A4F #4FC93A
tetradic
#3A4FC9 #C93A96 #C9B43A #3AC96C
square
#3A4FC9 #C93A96 #C9B43A #3AC96C
split-complementary
#3A4FC9 #C96C3A #96C93A
monochromatic
#1D296B #2B3B9B #3A4FC9 #6A7AD6 #9AA5E3

Accessibility & contrast

On white

6.68
#3A4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3A4FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FC9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FC9#FFFFFF#000000##FFFFFF
##3A4FC91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a4fc9;
/* rgb */ color: rgb(58, 79, 201);
/* oklch */ color: oklch(48.8% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#8380da',
    500: '#3a4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fc9;
$custom-light: #8380da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fc9",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 231.189,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.18982,
    "h": 270.2
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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