#4033B8#4033B8

#4033B8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 43.0% C 0.198 H 278.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4033B8
RGBrgb(64, 51, 184)
HSLhsl(246, 57%, 46%)
HSVhsv(246, 72%, 72%)
CMYKcmyk(65.2%, 72.3%, 0%, 27.8%)
CIE-LABlab(31.62, 45.21, -68.02)
CIE-LCHlch(31.62, 81.67, 303.61°)
OKLaboklab(43% 0.0289 -0.1964)
OKLCHoklch(43% 0.198 278.4)
XYZxyz(11.9471, 6.9174, 46.0437)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033B8 #ABB833
analogous
#3368B8 #4033B8 #8233B8
triadic
#4033B8 #B84033 #33B840
tetradic
#4033B8 #B83368 #ABB833 #33B882
square
#4033B8 #B83368 #ABB833 #33B882
split-complementary
#4033B8 #B88233 #68B833
monochromatic
#1F1858 #2F2688 #4033B8 #6358D1 #9088DE

Accessibility & contrast

On white

8.81
#4033B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4033B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033B8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033B8#FFFFFF#000000##FFFFFF
##4033B81.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4033b8;
/* rgb */ color: rgb(64, 51, 184);
/* oklch */ color: oklch(43.0% 0.198 278.4);
Tailwind
colors: {
  custom: {
    50: '#846dcf',
    500: '#4033b8',
    950: '#000000',
  },
}
SCSS
$custom: #4033b8;
$custom-light: #846dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4033b8",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 245.865,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.19848,
    "h": 278.4
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#4033B8
secondary
#C1C87F
accent
#E048D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4033B8

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

Preview Lab → · Contrast checker → · Palette generator →

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