#3A4DB8#3A4DB8

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

Color values

HEX#3A4DB8
RGBrgb(58, 77, 184)
HSLhsl(231, 52%, 47%)
HSVhsv(231, 68%, 72%)
CMYKcmyk(68.5%, 58.2%, 0%, 27.8%)
CIE-LABlab(37.24, 28.46, -58.84)
CIE-LCHlch(37.24, 65.36, 295.81°)
OKLaboklab(47% 0.0023 -0.1695)
OKLCHoklch(47% 0.17 270.8)
XYZxyz(13.0476, 9.6667, 46.5164)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DB8 #B8A53A
analogous
#3A8CB8 #3A4DB8 #663AB8
triadic
#3A4DB8 #B83A4D #4DB83A
tetradic
#3A4DB8 #B83A8C #B8A53A #3AB866
square
#3A4DB8 #B83A8C #B8A53A #3AB866
split-complementary
#3A4DB8 #B8663A #8CB83A
monochromatic
#1D265B #2B3A89 #3A4DB8 #6272CD #909CDC

Accessibility & contrast

On white

7.16
#3A4DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3A4DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DB8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DB8#FFFFFF#000000##FFFFFF
##3A4DB81.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4db8;
/* rgb */ color: rgb(58, 77, 184);
/* oklch */ color: oklch(47.0% 0.170 270.8);
Tailwind
colors: {
  custom: {
    50: '#807ece',
    500: '#3a4db8',
    950: '#000000',
  },
}
SCSS
$custom: #3a4db8;
$custom-light: #807ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4db8",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 230.952,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.16953,
    "h": 270.8
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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