#4035AA#4035AA

#4035AA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.179 H 279.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4035AA
RGBrgb(64, 53, 170)
HSLhsl(246, 52%, 44%)
HSVhsv(246, 69%, 67%)
CMYKcmyk(62.4%, 68.8%, 0%, 33.3%)
CIE-LABlab(30.73, 39.56, -61.13)
CIE-LCHlch(30.73, 72.81, 302.91°)
OKLaboklab(41.97% 0.0298 -0.1762)
OKLCHoklch(41.97% 0.179 279.6)
XYZxyz(10.6408, 6.5377, 38.7236)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035AA #9FAA35
analogous
#3564AA #4035AA #7A35AA
triadic
#4035AA #AA4035 #35AA40
tetradic
#4035AA #AA3564 #9FAA35 #35AA7A
square
#4035AA #AA3564 #9FAA35 #35AA7A
split-complementary
#4035AA #AA7A35 #64AA35
monochromatic
#1D184D #2E267B #4035AA #5E53C9 #8A82D8

Accessibility & contrast

On white

9.10
#4035AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4035AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035AA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035AA#FFFFFF#000000##FFFFFF
##4035AA1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4035aa;
/* rgb */ color: rgb(64, 53, 170);
/* oklch */ color: oklch(42.0% 0.179 279.6);
Tailwind
colors: {
  custom: {
    50: '#816dc4',
    500: '#4035aa',
    950: '#000000',
  },
}
SCSS
$custom: #4035aa;
$custom-light: #816dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4035aa",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 245.641,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.17873,
    "h": 279.6
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#4035AA
secondary
#BBC17A
accent
#DC4CCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4035AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4035AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva