#4035AF#4035AF

#4035AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.185 H 279.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4035AF
RGBrgb(64, 53, 175)
HSLhsl(245, 54%, 45%)
HSVhsv(245, 70%, 69%)
CMYKcmyk(63.4%, 69.7%, 0%, 31.4%)
CIE-LABlab(31.19, 41.18, -63.38)
CIE-LCHlch(31.19, 75.58, 303.01°)
OKLaboklab(42.43% 0.0291 -0.1828)
OKLCHoklch(42.43% 0.185 279)
XYZxyz(11.1228, 6.7305, 41.2621)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035AF #A4AF35
analogous
#3567AF #4035AF #7D35AF
triadic
#4035AF #AF4035 #35AF40
tetradic
#4035AF #AF3567 #A4AF35 #35AF7D
square
#4035AF #AF3567 #A4AF35 #35AF7D
split-complementary
#4035AF #AF7D35 #67AF35
monochromatic
#1E1951 #2F2780 #4035AF #6056CC #8C85DA

Accessibility & contrast

On white

8.95
#4035AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4035AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4035AF#FFFFFF#000000##FFFFFF
##4035AF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4035af;
/* rgb */ color: rgb(64, 53, 175);
/* oklch */ color: oklch(42.4% 0.185 279.0);
Tailwind
colors: {
  custom: {
    50: '#826ec8',
    500: '#4035af',
    950: '#000000',
  },
}
SCSS
$custom: #4035af;
$custom-light: #826ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4035af",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 245.41,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.1851,
    "h": 279
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#4035AF
secondary
#BDC47C
accent
#DD4BD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4035AF

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

Preview Lab → · Contrast checker → · Palette generator →

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