#4033AF#4033AF

#4033AF is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.187 H 279.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4033AF
RGBrgb(64, 51, 175)
HSLhsl(246, 55%, 44%)
HSVhsv(246, 71%, 69%)
CMYKcmyk(63.4%, 70.9%, 0%, 31.4%)
CIE-LABlab(30.76, 42.34, -64.07)
CIE-LCHlch(30.76, 76.79, 303.46°)
OKLaboklab(42.13% 0.0306 -0.1848)
OKLCHoklch(42.13% 0.187 279.4)
XYZxyz(11.0336, 6.5519, 41.2323)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033AF #A2AF33
analogous
#3364AF #4033AF #7E33AF
triadic
#4033AF #AF4033 #33AF40
tetradic
#4033AF #AF3364 #A2AF33 #33AF7E
square
#4033AF #AF3364 #A2AF33 #33AF7E
split-complementary
#4033AF #AF7E33 #64AF33
monochromatic
#1D1750 #2F2580 #4033AF #5F52CD #8B82DB

Accessibility & contrast

On white

9.09
#4033AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4033AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033AF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033AF#FFFFFF#000000##FFFFFF
##4033AF1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4033af;
/* rgb */ color: rgb(64, 51, 175);
/* oklch */ color: oklch(42.1% 0.187 279.4);
Tailwind
colors: {
  custom: {
    50: '#826cc8',
    500: '#4033af',
    950: '#000000',
  },
}
SCSS
$custom: #4033af;
$custom-light: #826cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4033af",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 246.29,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4213,
    "c": 0.18732,
    "h": 279.4
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#4033AF
secondary
#BCC47A
accent
#DE4ACF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4033AF

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

Preview Lab → · Contrast checker → · Palette generator →

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