#4128CA#4128CA

#4128CA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.5% C 0.229 H 278.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4128CA
RGBrgb(65, 40, 202)
HSLhsl(249, 67%, 47%)
HSVhsv(249, 80%, 79%)
CMYKcmyk(67.8%, 80.2%, 0%, 20.8%)
CIE-LABlab(31.59, 56.37, -78.65)
CIE-LCHlch(31.59, 96.76, 305.63°)
OKLaboklab(43.55% 0.0319 -0.2272)
OKLCHoklch(43.55% 0.229 278)
XYZxyz(13.5960, 6.9045, 56.4819)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4128CA #B1CA28
analogous
#2860CA #4128CA #9228CA
triadic
#4128CA #CA4128 #28CA41
tetradic
#4128CA #CA2860 #B1CA28 #28CA92
square
#4128CA #CA2860 #B1CA28 #28CA92
split-complementary
#4128CA #CA9228 #60CA28
monochromatic
#201464 #311E97 #4128CA #6852DD #9585E7

Accessibility & contrast

On white

8.82
#4128CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4128CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4128CA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4128CA#FFFFFF#000000##FFFFFF
##4128CA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4128ca;
/* rgb */ color: rgb(65, 40, 202);
/* oklch */ color: oklch(43.5% 0.229 278.0);
Tailwind
colors: {
  custom: {
    50: '#8967dc',
    500: '#4128ca',
    950: '#000000',
  },
}
SCSS
$custom: #4128ca;
$custom-light: #8967dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4128ca",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 202
  },
  "hsl": {
    "h": 249.259,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.22944,
    "h": 278
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#4128CA
secondary
#C3D07E
accent
#EA3ECF
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4128CA

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

Preview Lab → · Contrast checker → · Palette generator →

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