#4043CB#4043CB

#4043CB is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.2% C 0.205 H 274.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4043CB
RGBrgb(64, 67, 203)
HSLhsl(239, 57%, 52%)
HSVhsv(239, 68%, 80%)
CMYKcmyk(68.5%, 67%, 0%, 20.4%)
CIE-LABlab(36.77, 42.12, -70.69)
CIE-LCHlch(36.77, 82.29, 300.79°)
OKLaboklab(47.23% 0.0154 -0.2042)
OKLCHoklch(47.23% 0.205 274.3)
XYZxyz(14.8974, 9.4147, 57.5205)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043CB #CBC840
analogous
#4089CB #4043CB #8340CB
triadic
#4043CB #CB4043 #43CB40
tetradic
#4043CB #CB4089 #CBC840 #40CB83
square
#4043CB #CB4089 #CBC840 #40CB83
split-complementary
#4043CB #CB8340 #89CB40
monochromatic
#1F2172 #2C2FA2 #4043CB #7072D8 #A0A2E5

Accessibility & contrast

On white

7.28
#4043CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4043CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043CB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043CB#FFFFFF#000000##FFFFFF
##4043CB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4043cb;
/* rgb */ color: rgb(64, 67, 203);
/* oklch */ color: oklch(47.2% 0.205 274.3);
Tailwind
colors: {
  custom: {
    50: '#8778dc',
    500: '#4043cb',
    950: '#000000',
  },
}
SCSS
$custom: #4043cb;
$custom-light: #8778dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4043cb",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 238.705,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.20478,
    "h": 274.3
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#4043CB
secondary
#D2D095
accent
#DD47E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043CB

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

Preview Lab → · Contrast checker → · Palette generator →

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