#3A4DA2#3A4DA2

#3A4DA2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.139 H 270.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3A4DA2
RGBrgb(58, 77, 162)
HSLhsl(229, 47%, 43%)
HSVhsv(229, 64%, 64%)
CMYKcmyk(64.2%, 52.5%, 0%, 36.5%)
CIE-LABlab(35.63, 20.53, -48.39)
CIE-LCHlch(35.63, 52.56, 292.99°)
OKLaboklab(45.28% 0.0012 -0.1388)
OKLCHoklch(45.28% 0.139 270.5)
XYZxyz(10.9182, 8.8150, 35.3015)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DA2 #A28F3A
analogous
#3A81A2 #3A4DA2 #5B3AA2
triadic
#3A4DA2 #A23A4D #4DA23A
tetradic
#3A4DA2 #A23A81 #A28F3A #3AA25B
square
#3A4DA2 #A23A81 #A28F3A #3AA25B
split-complementary
#3A4DA2 #A25B3A #81A23A
monochromatic
#1A2248 #2A3875 #3A4DA2 #576AC3 #8492D3

Accessibility & contrast

On white

7.60
#3A4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A4DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DA2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DA2#FFFFFF#000000##FFFFFF
##3A4DA21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a4da2;
/* rgb */ color: rgb(58, 77, 162);
/* oklch */ color: oklch(45.3% 0.139 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b7ebe',
    500: '#3a4da2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4da2;
$custom-light: #7b7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4da2",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 229.038,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.13876,
    "h": 270.5
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#3A4DA2
secondary
#BDB17B
accent
#BE51D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A4DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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