#4034C1#4034C1

#4034C1 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.208 H 277.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4034C1
RGBrgb(64, 52, 193)
HSLhsl(245, 58%, 48%)
HSVhsv(245, 73%, 76%)
CMYKcmyk(66.8%, 73.1%, 0%, 24.3%)
CIE-LABlab(32.69, 47.51, -71.56)
CIE-LCHlch(32.69, 85.90, 303.58°)
OKLaboklab(44.02% 0.0265 -0.2067)
OKLCHoklch(44.02% 0.208 277.3)
XYZxyz(12.9649, 7.3951, 51.1859)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034C1 #B5C134
analogous
#346FC1 #4034C1 #8634C1
triadic
#4034C1 #C14034 #34C140
tetradic
#4034C1 #C1346F #B5C134 #34C186
square
#4034C1 #C1346F #B5C134 #34C186
split-complementary
#4034C1 #C18634 #6FC134
monochromatic
#201A61 #302791 #4034C1 #685ED4 #968FE1

Accessibility & contrast

On white

8.47
#4034C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4034C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034C1
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034C1#FFFFFF#000000##FFFFFF
##4034C11.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4034c1;
/* rgb */ color: rgb(64, 52, 193);
/* oklch */ color: oklch(44.0% 0.208 277.3);
Tailwind
colors: {
  custom: {
    50: '#866ed5',
    500: '#4034c1',
    950: '#000000',
  },
}
SCSS
$custom: #4034c1;
$custom-light: #866ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4034c1",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 245.106,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.20841,
    "h": 277.3
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#4034C1
secondary
#C5CB86
accent
#E147D4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4034C1

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

Preview Lab → · Contrast checker → · Palette generator →

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