#4043D3#4043D3

#4043D3 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.0% C 0.215 H 273.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4043D3
RGBrgb(64, 67, 211)
HSLhsl(239, 63%, 54%)
HSVhsv(239, 70%, 83%)
CMYKcmyk(69.7%, 68.2%, 0%, 17.3%)
CIE-LABlab(37.49, 44.79, -74.14)
CIE-LCHlch(37.49, 86.62, 301.14°)
OKLaboklab(47.98% 0.0145 -0.2143)
OKLCHoklch(47.98% 0.215 273.9)
XYZxyz(15.8755, 9.8059, 62.6715)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043D3 #D3D040
analogous
#408CD3 #4043D3 #8740D3
triadic
#4043D3 #D34043 #43D340
tetradic
#4043D3 #D3408C #D3D040 #40D387
square
#4043D3 #D3408C #D3D040 #40D387
split-complementary
#4043D3 #D38740 #8CD340
monochromatic
#1D1F7C #282BAE #4043D3 #7274DE #A3A5EA

Accessibility & contrast

On white

7.09
#4043D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4043D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043D3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043D3#FFFFFF#000000##FFFFFF
##4043D31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0051D0
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4043d3;
/* rgb */ color: rgb(64, 67, 211);
/* oklch */ color: oklch(48.0% 0.215 273.9);
Tailwind
colors: {
  custom: {
    50: '#8878e2',
    500: '#4043d3',
    950: '#000000',
  },
}
SCSS
$custom: #4043d3;
$custom-light: #8878e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4043d3",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 211
  },
  "hsl": {
    "h": 238.776,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.21477,
    "h": 273.9
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#4043D3
secondary
#D7D598
accent
#E242E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #4043D3

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

Preview Lab → · Contrast checker → · Palette generator →

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