#3A4DB5#3A4DB5

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

Color values

HEX#3A4DB5
RGBrgb(58, 77, 181)
HSLhsl(231, 51%, 47%)
HSVhsv(231, 68%, 71%)
CMYKcmyk(68%, 57.5%, 0%, 29%)
CIE-LABlab(37.01, 27.38, -57.45)
CIE-LCHlch(37.01, 63.64, 295.48°)
OKLaboklab(46.75% 0.0022 -0.1654)
OKLCHoklch(46.75% 0.165 270.8)
XYZxyz(12.7365, 9.5423, 44.8777)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DB5 #B5A23A
analogous
#3A8AB5 #3A4DB5 #653AB5
triadic
#3A4DB5 #B53A4D #4DB53A
tetradic
#3A4DB5 #B53A8A #B5A23A #3AB565
square
#3A4DB5 #B53A8A #B5A23A #3AB565
split-complementary
#3A4DB5 #B5653A #8AB53A
monochromatic
#1C2658 #2B3987 #3A4DB5 #6071CC #8E9ADB

Accessibility & contrast

On white

7.22
#3A4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A4DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DB5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DB5#FFFFFF#000000##FFFFFF
##3A4DB51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4db5;
/* rgb */ color: rgb(58, 77, 181);
/* oklch */ color: oklch(46.8% 0.165 270.8);
Tailwind
colors: {
  custom: {
    50: '#7f7ecc',
    500: '#3a4db5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4db5;
$custom-light: #7f7ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4db5",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 230.732,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46752,
    "c": 0.16543,
    "h": 270.8
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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