#4035AC#4035AC

#4035AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.181 H 279.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#4035AC
RGBrgb(64, 53, 172)
HSLhsl(246, 53%, 44%)
HSVhsv(246, 69%, 67%)
CMYKcmyk(62.8%, 69.2%, 0%, 32.5%)
CIE-LABlab(30.91, 40.21, -62.03)
CIE-LCHlch(30.91, 73.92, 302.95°)
OKLaboklab(42.15% 0.0295 -0.1789)
OKLCHoklch(42.15% 0.181 279.4)
XYZxyz(10.8315, 6.6139, 39.7276)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035AC #A1AC35
analogous
#3566AC #4035AC #7C35AC
triadic
#4035AC #AC4035 #35AC40
tetradic
#4035AC #AC3566 #A1AC35 #35AC7C
square
#4035AC #AC3566 #A1AC35 #35AC7C
split-complementary
#4035AC #AC7C35 #66AC35
monochromatic
#1D184E #2F277D #4035AC #5F54CA #8B83D9

Accessibility & contrast

On white

9.04
#4035AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4035AC#FFFFFF#000000##FFFFFF
##4035AC1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4035ac;
/* rgb */ color: rgb(64, 53, 172);
/* oklch */ color: oklch(42.2% 0.181 279.4);
Tailwind
colors: {
  custom: {
    50: '#826dc6',
    500: '#4035ac',
    950: '#000000',
  },
}
SCSS
$custom: #4035ac;
$custom-light: #826dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4035ac",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 245.546,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.18128,
    "h": 279.4
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4035AC

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

Preview Lab → · Contrast checker → · Palette generator →

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