#3A4DB6#3A4DB6

#3A4DB6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.167 H 270.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#3A4DB6
RGBrgb(58, 77, 182)
HSLhsl(231, 52%, 47%)
HSVhsv(231, 68%, 71%)
CMYKcmyk(68.1%, 57.7%, 0%, 28.6%)
CIE-LABlab(37.08, 27.74, -57.91)
CIE-LCHlch(37.08, 64.21, 295.59°)
OKLaboklab(46.83% 0.0023 -0.1668)
OKLCHoklch(46.83% 0.167 270.8)
XYZxyz(12.8394, 9.5835, 45.4201)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DB6 #B6A33A
analogous
#3A8BB6 #3A4DB6 #653AB6
triadic
#3A4DB6 #B63A4D #4DB63A
tetradic
#3A4DB6 #B63A8B #B6A33A #3AB665
square
#3A4DB6 #B63A8B #B6A33A #3AB665
split-complementary
#3A4DB6 #B6653A #8BB63A
monochromatic
#1C2659 #2B3988 #3A4DB6 #6171CD #8F9BDB

Accessibility & contrast

On white

7.20
#3A4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3A4DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DB6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DB6#FFFFFF#000000##FFFFFF
##3A4DB61.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4db6;
/* rgb */ color: rgb(58, 77, 182);
/* oklch */ color: oklch(46.8% 0.167 270.8);
Tailwind
colors: {
  custom: {
    50: '#7f7ecd',
    500: '#3a4db6',
    950: '#000000',
  },
}
SCSS
$custom: #3a4db6;
$custom-light: #7f7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4db6",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 230.806,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.1668,
    "h": 270.8
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#3A4DB6
secondary
#C6BC86
accent
#C54DDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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