#4043CA#4043CA

#4043CA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.1% C 0.204 H 274.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4043CA
RGBrgb(64, 67, 202)
HSLhsl(239, 57%, 52%)
HSVhsv(239, 68%, 79%)
CMYKcmyk(68.3%, 66.8%, 0%, 20.8%)
CIE-LABlab(36.68, 41.79, -70.26)
CIE-LCHlch(36.68, 81.75, 300.74°)
OKLaboklab(47.14% 0.0155 -0.2029)
OKLCHoklch(47.14% 0.204 274.4)
XYZxyz(14.7786, 9.3672, 56.8949)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043CA #CAC740
analogous
#4088CA #4043CA #8240CA
triadic
#4043CA #CA4043 #43CA40
tetradic
#4043CA #CA4088 #CAC740 #40CA82
square
#4043CA #CA4088 #CAC740 #40CA82
split-complementary
#4043CA #CA8240 #88CA40
monochromatic
#1F2170 #2C2FA0 #4043CA #7072D7 #A0A1E5

Accessibility & contrast

On white

7.31
#4043CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4043CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043CA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043CA#FFFFFF#000000##FFFFFF
##4043CA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4043ca;
/* rgb */ color: rgb(64, 67, 202);
/* oklch */ color: oklch(47.1% 0.204 274.4);
Tailwind
colors: {
  custom: {
    50: '#8778db',
    500: '#4043ca',
    950: '#000000',
  },
}
SCSS
$custom: #4043ca;
$custom-light: #8778db;
$custom-dark: #000000;
JSON
{
  "hex": "#4043ca",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 238.696,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47143,
    "c": 0.20352,
    "h": 274.4
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#4043CA
secondary
#D1D095
accent
#DD48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043CA

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

Preview Lab → · Contrast checker → · Palette generator →

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