#3A4DB2#3A4DB2

#3A4DB2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.161 H 270.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3A4DB2
RGBrgb(58, 77, 178)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 67%, 70%)
CMYKcmyk(67.4%, 56.7%, 0%, 30.2%)
CIE-LABlab(36.78, 26.30, -56.04)
CIE-LCHlch(36.78, 61.91, 295.14°)
OKLaboklab(46.51% 0.0021 -0.1613)
OKLCHoklch(46.51% 0.161 270.8)
XYZxyz(12.4320, 9.4205, 43.2740)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DB2 #B29F3A
analogous
#3A89B2 #3A4DB2 #633AB2
triadic
#3A4DB2 #B23A4D #4DB23A
tetradic
#3A4DB2 #B23A89 #B29F3A #3AB263
square
#3A4DB2 #B23A89 #B29F3A #3AB263
split-complementary
#3A4DB2 #B2633A #89B23A
monochromatic
#1C2556 #2B3984 #3A4DB2 #5F70CB #8D99DA

Accessibility & contrast

On white

7.28
#3A4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A4DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DB2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DB2#FFFFFF#000000##FFFFFF
##3A4DB21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4db2;
/* rgb */ color: rgb(58, 77, 178);
/* oklch */ color: oklch(46.5% 0.161 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e7eca',
    500: '#3a4db2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4db2;
$custom-light: #7e7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4db2",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 230.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.16129,
    "h": 270.8
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#3A4DB2
secondary
#C4BA83
accent
#C44DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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