#4034A9#4034A9

#4034A9 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.179 H 279.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4034A9
RGBrgb(64, 52, 169)
HSLhsl(246, 53%, 43%)
HSVhsv(246, 69%, 66%)
CMYKcmyk(62.1%, 69.2%, 0%, 33.7%)
CIE-LABlab(30.42, 39.82, -61.03)
CIE-LCHlch(30.42, 72.87, 303.12°)
OKLaboklab(41.72% 0.0308 -0.1759)
OKLCHoklch(41.72% 0.179 279.9)
XYZxyz(10.5015, 6.4098, 38.2122)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034A9 #9DA934
analogous
#3462A9 #4034A9 #7A34A9
triadic
#4034A9 #A94034 #34A940
tetradic
#4034A9 #A93462 #9DA934 #34A97A
square
#4034A9 #A93462 #9DA934 #34A97A
split-complementary
#4034A9 #A97A34 #62A934
monochromatic
#1D174B #2E267A #4034A9 #5D51C9 #8980D8

Accessibility & contrast

On white

9.20
#4034A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4034A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034A9
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034A9#FFFFFF#000000##FFFFFF
##4034A91.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4034a9;
/* rgb */ color: rgb(64, 52, 169);
/* oklch */ color: oklch(41.7% 0.179 279.9);
Tailwind
colors: {
  custom: {
    50: '#816dc4',
    500: '#4034a9',
    950: '#000000',
  },
}
SCSS
$custom: #4034a9;
$custom-light: #816dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4034a9",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 246.154,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41717,
    "c": 0.1786,
    "h": 279.9
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#4034A9
secondary
#B9C178
accent
#DC4BCD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4034A9

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

Preview Lab → · Contrast checker → · Palette generator →

#4034A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva