#3431AC#3431AC

#3431AC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.188 H 275.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3431AC
RGBrgb(52, 49, 172)
HSLhsl(241, 56%, 43%)
HSVhsv(241, 72%, 67%)
CMYKcmyk(69.8%, 71.5%, 0%, 32.5%)
CIE-LABlab(29.17, 41.02, -64.93)
CIE-LCHlch(29.17, 76.80, 302.28°)
OKLaboklab(40.67% 0.0168 -0.1876)
OKLCHoklch(40.67% 0.188 275.1)
XYZxyz(9.9584, 5.9043, 39.6366)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3431AC #A9AC31
analogous
#316CAC #3431AC #7131AC
triadic
#3431AC #AC3431 #31AC34
tetradic
#3431AC #AC316C #A9AC31 #31AC71
square
#3431AC #AC316C #A9AC31 #31AC71
split-complementary
#3431AC #AC7131 #6CAC31
monochromatic
#17164D #26237C #3431AC #514ECC #807DDA

Accessibility & contrast

On white

9.63
#3431AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3431AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3431AC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3431AC#FFFFFF#000000##FFFFFF
##3431AC1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3431ac;
/* rgb */ color: rgb(52, 49, 172);
/* oklch */ color: oklch(40.7% 0.188 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ac6',
    500: '#3431ac',
    950: '#000000',
  },
}
SCSS
$custom: #3431ac;
$custom-light: #7d6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3431ac",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 241.463,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.1884,
    "h": 275.1
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#3431AC
secondary
#C1C376
accent
#DF49DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3431AC

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

Preview Lab → · Contrast checker → · Palette generator →

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