#3431B8#3431B8

#3431B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.203 H 274.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3431B8
RGBrgb(52, 49, 184)
HSLhsl(241, 58%, 46%)
HSVhsv(241, 73%, 72%)
CMYKcmyk(71.7%, 73.4%, 0%, 27.8%)
CIE-LABlab(30.37, 45.00, -70.11)
CIE-LCHlch(30.37, 83.31, 302.70°)
OKLaboklab(41.89% 0.0147 -0.2028)
OKLCHoklch(41.89% 0.203 274.1)
XYZxyz(11.1633, 6.3863, 45.9825)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3431B8 #B5B831
analogous
#3172B8 #3431B8 #7731B8
triadic
#3431B8 #B83431 #31B834
tetradic
#3431B8 #B83172 #B5B831 #31B877
square
#3431B8 #B83172 #B5B831 #31B877
split-complementary
#3431B8 #B87731 #72B831
monochromatic
#191757 #262488 #3431B8 #5755D2 #8785DE

Accessibility & contrast

On white

9.22
#3431B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3431B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3431B8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3431B8#FFFFFF#000000##FFFFFF
##3431B81.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3431b8;
/* rgb */ color: rgb(52, 49, 184);
/* oklch */ color: oklch(41.9% 0.203 274.1);
Tailwind
colors: {
  custom: {
    50: '#7f6bcf',
    500: '#3431b8',
    950: '#000000',
  },
}
SCSS
$custom: #3431b8;
$custom-light: #7f6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3431b8",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 241.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.20329,
    "h": 274.1
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#3431B8
secondary
#C6C87D
accent
#E147DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3431B8

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

Preview Lab → · Contrast checker → · Palette generator →

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