#4043A2#4043A2

#4043A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.150 H 276.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4043A2
RGBrgb(64, 67, 162)
HSLhsl(238, 43%, 44%)
HSVhsv(238, 60%, 64%)
CMYKcmyk(60.5%, 58.6%, 0%, 36.5%)
CIE-LABlab(33.38, 28.15, -52.01)
CIE-LCHlch(33.38, 59.14, 298.43°)
OKLaboklab(43.69% 0.0179 -0.1494)
OKLCHoklch(43.69% 0.15 276.8)
XYZxyz(10.6410, 7.7121, 35.1033)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043A2 #A29F40
analogous
#4074A2 #4043A2 #6E40A2
triadic
#4043A2 #A24043 #43A240
tetradic
#4043A2 #A24074 #A29F40 #40A26E
square
#4043A2 #A24074 #A29F40 #40A26E
split-complementary
#4043A2 #A26E40 #74A240
monochromatic
#1D1F4A #2F3176 #4043A2 #5F62C0 #8B8DD1

Accessibility & contrast

On white

8.26
#4043A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4043A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043A2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043A2#FFFFFF#000000##FFFFFF
##4043A21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4043a2;
/* rgb */ color: rgb(64, 67, 162);
/* oklch */ color: oklch(43.7% 0.150 276.8);
Tailwind
colors: {
  custom: {
    50: '#7f77be',
    500: '#4043a2',
    950: '#000000',
  },
}
SCSS
$custom: #4043a2;
$custom-light: #7f77be;
$custom-dark: #000000;
JSON
{
  "hex": "#4043a2",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 238.163,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.15044,
    "h": 276.8
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#4043A2
secondary
#BCBA82
accent
#CF55D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4043A2

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

Preview Lab → · Contrast checker → · Palette generator →

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