#3431A2#3431A2

#3431A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.176 H 276.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3431A2
RGBrgb(52, 49, 162)
HSLhsl(242, 54%, 41%)
HSVhsv(242, 70%, 64%)
CMYKcmyk(67.9%, 69.8%, 0%, 36.5%)
CIE-LABlab(28.21, 37.64, -60.48)
CIE-LCHlch(28.21, 71.24, 301.89°)
OKLaboklab(39.69% 0.0183 -0.1747)
OKLCHoklch(39.69% 0.176 276)
XYZxyz(9.0339, 5.5345, 34.7676)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3431A2 #9FA231
analogous
#3167A2 #3431A2 #6D31A2
triadic
#3431A2 #A23431 #31A234
tetradic
#3431A2 #A23167 #9FA231 #31A26D
square
#3431A2 #A23167 #9FA231 #31A26D
split-complementary
#3431A2 #A26D31 #67A231
monochromatic
#161544 #252373 #3431A2 #4C48C8 #7A77D6

Accessibility & contrast

On white

9.97
#3431A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3431A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3431A2
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3431A2#FFFFFF#000000##FFFFFF
##3431A21.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3431a2;
/* rgb */ color: rgb(52, 49, 162);
/* oklch */ color: oklch(39.7% 0.176 276.0);
Tailwind
colors: {
  custom: {
    50: '#7a6abf',
    500: '#3431a2',
    950: '#000000',
  },
}
SCSS
$custom: #3431a2;
$custom-light: #7a6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3431a2",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 241.593,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.17562,
    "h": 276
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#3431A2
secondary
#BCBE71
accent
#DD4BD9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3431A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3431A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva