#3A4DB9#3A4DB9

#3A4DB9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.171 H 270.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3A4DB9
RGBrgb(58, 77, 185)
HSLhsl(231, 52%, 48%)
HSVhsv(231, 69%, 73%)
CMYKcmyk(68.6%, 58.4%, 0%, 27.5%)
CIE-LABlab(37.31, 28.82, -59.30)
CIE-LCHlch(37.31, 65.93, 295.92°)
OKLaboklab(47.08% 0.0023 -0.1709)
OKLCHoklch(47.08% 0.171 270.8)
XYZxyz(13.1528, 9.7088, 47.0704)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DB9 #B9A63A
analogous
#3A8CB9 #3A4DB9 #673AB9
triadic
#3A4DB9 #B93A4D #4DB93A
tetradic
#3A4DB9 #B93A8C #B9A63A #3AB967
square
#3A4DB9 #B93A8C #B9A63A #3AB967
split-complementary
#3A4DB9 #B9673A #8CB93A
monochromatic
#1D265C #2B3A8A #3A4DB9 #6272CE #919CDC

Accessibility & contrast

On white

7.14
#3A4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A4DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DB9
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DB9#FFFFFF#000000##FFFFFF
##3A4DB91.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4db9;
/* rgb */ color: rgb(58, 77, 185);
/* oklch */ color: oklch(47.1% 0.171 270.8);
Tailwind
colors: {
  custom: {
    50: '#807ecf',
    500: '#3a4db9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4db9;
$custom-light: #807ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4db9",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 231.024,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.17089,
    "h": 270.8
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#3A4DB9
secondary
#C7BE87
accent
#C64CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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