#3A4DB1#3A4DB1

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

Color values

HEX#3A4DB1
RGBrgb(58, 77, 177)
HSLhsl(230, 51%, 46%)
HSVhsv(230, 67%, 69%)
CMYKcmyk(67.2%, 56.5%, 0%, 30.6%)
CIE-LABlab(36.71, 25.94, -55.57)
CIE-LCHlch(36.71, 61.33, 295.02°)
OKLaboklab(46.43% 0.0021 -0.1599)
OKLCHoklch(46.43% 0.16 270.8)
XYZxyz(12.3319, 9.3805, 42.7472)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DB1 #B19E3A
analogous
#3A88B1 #3A4DB1 #623AB1
triadic
#3A4DB1 #B13A4D #4DB13A
tetradic
#3A4DB1 #B13A88 #B19E3A #3AB162
square
#3A4DB1 #B13A88 #B19E3A #3AB162
split-complementary
#3A4DB1 #B1623A #88B13A
monochromatic
#1C2555 #2B3983 #3A4DB1 #5E6FCA #8C98D9

Accessibility & contrast

On white

7.30
#3A4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4DB1
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DB1#FFFFFF#000000##FFFFFF
##3A4DB11.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4db1;
/* rgb */ color: rgb(58, 77, 177);
/* oklch */ color: oklch(46.4% 0.160 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e7ec9',
    500: '#3a4db1',
    950: '#000000',
  },
}
SCSS
$custom: #3a4db1;
$custom-light: #7e7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4db1",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 230.42,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.15991,
    "h": 270.8
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#3A4DB1
secondary
#C4B983
accent
#C44EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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