#4043BC#4043BC

#4043BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.186 H 275.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4043BC
RGBrgb(64, 67, 188)
HSLhsl(239, 49%, 49%)
HSVhsv(239, 66%, 74%)
CMYKcmyk(66%, 64.4%, 0%, 26.3%)
CIE-LABlab(35.47, 37.06, -64.07)
CIE-LCHlch(35.47, 74.01, 300.05°)
OKLaboklab(45.89% 0.0168 -0.1848)
OKLCHoklch(45.89% 0.186 275.2)
XYZxyz(13.1956, 8.7340, 48.5576)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043BC #BCB940
analogous
#4081BC #4043BC #7B40BC
triadic
#4043BC #BC4043 #43BC40
tetradic
#4043BC #BC4081 #BCB940 #40BC7B
square
#4043BC #BC4081 #BCB940 #40BC7B
split-complementary
#4043BC #BC7B40 #81BC40
monochromatic
#212261 #30338E #4043BC #6C6FCD #9A9BDD

Accessibility & contrast

On white

7.64
#4043BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4043BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043BC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043BC#FFFFFF#000000##FFFFFF
##4043BC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4043bc;
/* rgb */ color: rgb(64, 67, 188);
/* oklch */ color: oklch(45.9% 0.186 275.2);
Tailwind
colors: {
  custom: {
    50: '#8477d1',
    500: '#4043bc',
    950: '#000000',
  },
}
SCSS
$custom: #4043bc;
$custom-light: #8477d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4043bc",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 238.548,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.18555,
    "h": 275.2
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#4043BC
secondary
#C9C78F
accent
#D54FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4043BC

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

Preview Lab → · Contrast checker → · Palette generator →

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