#3431D4#3431D4

#3431D4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.8% C 0.236 H 272.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3431D4
RGBrgb(52, 49, 212)
HSLhsl(241, 65%, 51%)
HSVhsv(241, 77%, 83%)
CMYKcmyk(75.5%, 76.9%, 0%, 16.9%)
CIE-LABlab(33.30, 53.99, -81.65)
CIE-LCHlch(33.30, 97.89, 303.48°)
OKLaboklab(44.83% 0.0093 -0.2363)
OKLCHoklch(44.83% 0.237 272.3)
XYZxyz(14.3942, 7.6786, 62.9981)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3431D4 #D1D431
analogous
#317FD4 #3431D4 #8531D4
triadic
#3431D4 #D43431 #31D434
tetradic
#3431D4 #D4317F #D1D431 #31D485
square
#3431D4 #D4317F #D1D431 #31D485
split-complementary
#3431D4 #D48531 #7FD431
monochromatic
#1A1873 #2523A5 #3431D4 #6664DF #9896E9

Accessibility & contrast

On white

8.28
#3431D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3431D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3431D4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3431D4#FFFFFF#000000##FFFFFF
##3431D41.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0046D1
Tritanopia (blue-blind)
#006282
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3431d4;
/* rgb */ color: rgb(52, 49, 212);
/* oklch */ color: oklch(44.8% 0.236 272.3);
Tailwind
colors: {
  custom: {
    50: '#866ce3',
    500: '#3431d4',
    950: '#000000',
  },
}
SCSS
$custom: #3431d4;
$custom-light: #866ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3431d4",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 241.104,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.44833,
    "c": 0.2365,
    "h": 272.3
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#3431D4
secondary
#D3D48C
accent
#E83FE5
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3431D4

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

Preview Lab → · Contrast checker → · Palette generator →

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