#3A4DB3#3A4DB3

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

Color values

HEX#3A4DB3
RGBrgb(58, 77, 179)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 68%, 70%)
CMYKcmyk(67.6%, 57%, 0%, 29.8%)
CIE-LABlab(36.86, 26.66, -56.51)
CIE-LCHlch(36.86, 62.48, 295.26°)
OKLaboklab(46.59% 0.0022 -0.1627)
OKLCHoklch(46.59% 0.163 270.8)
XYZxyz(12.5327, 9.4608, 43.8047)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DB3 #B3A03A
analogous
#3A8AB3 #3A4DB3 #643AB3
triadic
#3A4DB3 #B33A4D #4DB33A
tetradic
#3A4DB3 #B33A8A #B3A03A #3AB364
square
#3A4DB3 #B33A8A #B3A03A #3AB364
split-complementary
#3A4DB3 #B3643A #8AB33A
monochromatic
#1C2557 #2B3985 #3A4DB3 #5F70CB #8D99DA

Accessibility & contrast

On white

7.26
#3A4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A4DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DB3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DB3#FFFFFF#000000##FFFFFF
##3A4DB31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4db3;
/* rgb */ color: rgb(58, 77, 179);
/* oklch */ color: oklch(46.6% 0.163 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e7eca',
    500: '#3a4db3',
    950: '#000000',
  },
}
SCSS
$custom: #3a4db3;
$custom-light: #7e7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4db3",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 230.579,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.16267,
    "h": 270.8
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#3A4DB3
secondary
#C5BB84
accent
#C44DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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