#4043E3#4043E3

#4043E3 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.234 H 273.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4043E3
RGBrgb(64, 67, 227)
HSLhsl(239, 74%, 57%)
HSVhsv(239, 72%, 89%)
CMYKcmyk(71.8%, 70.5%, 0%, 11%)
CIE-LABlab(38.98, 50.04, -80.86)
CIE-LCHlch(38.98, 95.09, 301.75°)
OKLaboklab(49.5% 0.0123 -0.2339)
OKLCHoklch(49.5% 0.234 273)
XYZxyz(17.9820, 10.6485, 73.7658)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043E3 #E3E040
analogous
#4094E3 #4043E3 #8F40E3
triadic
#4043E3 #E34043 #43E340
tetradic
#4043E3 #E34094 #E3E040 #40E38F
square
#4043E3 #E34094 #E3E040 #40E38F
split-complementary
#4043E3 #E38F40 #94E340
monochromatic
#161893 #1D21C8 #4043E3 #7578EB #ABACF3

Accessibility & contrast

On white

6.71
#4043E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4043E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4043E3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043E3#FFFFFF#000000##FFFFFF
##4043E31.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#0054E0
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4043e3;
/* rgb */ color: rgb(64, 67, 227);
/* oklch */ color: oklch(49.5% 0.234 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c78ed',
    500: '#4043e3',
    950: '#000000',
  },
}
SCSS
$custom: #4043e3;
$custom-light: #8c78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4043e3",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 227
  },
  "hsl": {
    "h": 238.896,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.23423,
    "h": 273
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#4043E3
secondary
#E1DF9E
accent
#EE37F1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4043E3

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

Preview Lab → · Contrast checker → · Palette generator →

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