#3A4BA2#3A4BA2

#3A4BA2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.141 H 271.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3A4BA2
RGBrgb(58, 75, 162)
HSLhsl(230, 47%, 43%)
HSVhsv(230, 64%, 64%)
CMYKcmyk(64.2%, 53.7%, 0%, 36.5%)
CIE-LABlab(35.08, 21.85, -49.26)
CIE-LCHlch(35.08, 53.89, 293.92°)
OKLaboklab(44.87% 0.0031 -0.1414)
OKLCHoklch(44.87% 0.141 271.3)
XYZxyz(10.7804, 8.5394, 35.2556)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BA2 #A2913A
analogous
#3A7FA2 #3A4BA2 #5D3AA2
triadic
#3A4BA2 #A23A4B #4BA23A
tetradic
#3A4BA2 #A23A7F #A2913A #3AA25D
square
#3A4BA2 #A23A7F #A2913A #3AA25D
split-complementary
#3A4BA2 #A25D3A #7FA23A
monochromatic
#1A2148 #2A3675 #3A4BA2 #5768C3 #8491D3

Accessibility & contrast

On white

7.75
#3A4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A4BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BA2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BA2#FFFFFF#000000##FFFFFF
##3A4BA21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a4ba2;
/* rgb */ color: rgb(58, 75, 162);
/* oklch */ color: oklch(44.9% 0.141 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b7dbe',
    500: '#3a4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ba2;
$custom-light: #7b7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ba2",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 230.192,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.1414,
    "h": 271.3
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#3A4BA2
secondary
#BDB27B
accent
#C151D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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