#4035AE#4035AE

#4035AE is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.184 H 279.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4035AE
RGBrgb(64, 53, 174)
HSLhsl(245, 53%, 45%)
HSVhsv(245, 70%, 68%)
CMYKcmyk(63.2%, 69.5%, 0%, 31.8%)
CIE-LABlab(31.09, 40.86, -62.93)
CIE-LCHlch(31.09, 75.03, 302.99°)
OKLaboklab(42.34% 0.0292 -0.1815)
OKLCHoklch(42.34% 0.184 279.1)
XYZxyz(11.0250, 6.6913, 40.7468)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035AE #A3AE35
analogous
#3566AE #4035AE #7D35AE
triadic
#4035AE #AE4035 #35AE40
tetradic
#4035AE #AE3566 #A3AE35 #35AE7D
square
#4035AE #AE3566 #A3AE35 #35AE7D
split-complementary
#4035AE #AE7D35 #66AE35
monochromatic
#1D1850 #2F277F #4035AE #6055CB #8C84DA

Accessibility & contrast

On white

8.98
#4035AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4035AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4035AE#FFFFFF#000000##FFFFFF
##4035AE1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4035ae;
/* rgb */ color: rgb(64, 53, 174);
/* oklch */ color: oklch(42.3% 0.184 279.1);
Tailwind
colors: {
  custom: {
    50: '#826ec7',
    500: '#4035ae',
    950: '#000000',
  },
}
SCSS
$custom: #4035ae;
$custom-light: #826ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4035ae",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 245.455,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.18383,
    "h": 279.1
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#4035AE
secondary
#BDC37C
accent
#DD4BCF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4035AE

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

Preview Lab → · Contrast checker → · Palette generator →

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