#4043BB#4043BB

#4043BB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.184 H 275.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4043BB
RGBrgb(64, 67, 187)
HSLhsl(239, 49%, 49%)
HSVhsv(239, 66%, 73%)
CMYKcmyk(65.8%, 64.2%, 0%, 26.7%)
CIE-LABlab(35.38, 36.72, -63.62)
CIE-LCHlch(35.38, 73.45, 299.99°)
OKLaboklab(45.8% 0.0169 -0.1835)
OKLCHoklch(45.8% 0.184 275.3)
XYZxyz(13.0882, 8.6910, 47.9919)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043BB #BBB840
analogous
#4080BB #4043BB #7B40BB
triadic
#4043BB #BB4043 #43BB40
tetradic
#4043BB #BB4080 #BBB840 #40BB7B
square
#4043BB #BB4080 #BBB840 #40BB7B
split-complementary
#4043BB #BB7B40 #80BB40
monochromatic
#212260 #30338D #4043BB #6C6ECD #999BDC

Accessibility & contrast

On white

7.67
#4043BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4043BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043BB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043BB#FFFFFF#000000##FFFFFF
##4043BB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4043bb;
/* rgb */ color: rgb(64, 67, 187);
/* oklch */ color: oklch(45.8% 0.184 275.3);
Tailwind
colors: {
  custom: {
    50: '#8477d0',
    500: '#4043bb',
    950: '#000000',
  },
}
SCSS
$custom: #4043bb;
$custom-light: #8477d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4043bb",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 238.537,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.18424,
    "h": 275.3
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#4043BB
secondary
#C8C78F
accent
#D54FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4043BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4043BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva