#4035AB#4035AB

#4035AB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.180 H 279.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4035AB
RGBrgb(64, 53, 171)
HSLhsl(246, 53%, 44%)
HSVhsv(246, 69%, 67%)
CMYKcmyk(62.6%, 69%, 0%, 32.9%)
CIE-LABlab(30.82, 39.88, -61.58)
CIE-LCHlch(30.82, 73.37, 302.93°)
OKLaboklab(42.06% 0.0297 -0.1775)
OKLCHoklch(42.06% 0.18 279.5)
XYZxyz(10.7358, 6.5757, 39.2237)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035AB #A0AB35
analogous
#3565AB #4035AB #7B35AB
triadic
#4035AB #AB4035 #35AB40
tetradic
#4035AB #AB3565 #A0AB35 #35AB7B
square
#4035AB #AB3565 #A0AB35 #35AB7B
split-complementary
#4035AB #AB7B35 #65AB35
monochromatic
#1D184E #2F277C #4035AB #5E53CA #8A82D8

Accessibility & contrast

On white

9.07
#4035AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4035AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4035AB#FFFFFF#000000##FFFFFF
##4035AB1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4035ab;
/* rgb */ color: rgb(64, 53, 171);
/* oklch */ color: oklch(42.1% 0.180 279.5);
Tailwind
colors: {
  custom: {
    50: '#826dc5',
    500: '#4035ab',
    950: '#000000',
  },
}
SCSS
$custom: #4035ab;
$custom-light: #826dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4035ab",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 245.593,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42058,
    "c": 0.18001,
    "h": 279.5
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#4035AB
secondary
#BBC27A
accent
#DC4CCF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4035AB

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

Preview Lab → · Contrast checker → · Palette generator →

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