#4124DB#4124DB

#4124DB is a mid, highly saturated blue. Relative luminance 0.075; OKLCH L 45.0% C 0.251 H 276.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4124DB
RGBrgb(65, 36, 219)
HSLhsl(250, 72%, 50%)
HSVhsv(250, 84%, 86%)
CMYKcmyk(70.3%, 83.6%, 0%, 14.1%)
CIE-LABlab(32.92, 62.87, -86.31)
CIE-LCHlch(32.92, 106.78, 306.07°)
OKLaboklab(45.01% 0.0284 -0.2494)
OKLCHoklch(45.01% 0.251 276.5)
XYZxyz(15.5929, 7.4986, 67.6297)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124DB #BEDB24
analogous
#2463DB #4124DB #9C24DB
triadic
#4124DB #DB4124 #24DB41
tetradic
#4124DB #DB2463 #BEDB24 #24DB9C
square
#4124DB #DB2463 #BEDB24 #24DB9C
split-complementary
#4124DB #DB9C24 #63DB24
monochromatic
#221372 #311BA6 #4124DB #6F59E4 #9C8DEC

Accessibility & contrast

On white

8.40
#4124DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4124DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124DB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124DB#FFFFFF#000000##FFFFFF
##4124DB1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055E0
Deuteranopia (green-blind)
#0045D8
Tritanopia (blue-blind)
#006083
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4124db;
/* rgb */ color: rgb(65, 36, 219);
/* oklch */ color: oklch(45.0% 0.251 276.5);
Tailwind
colors: {
  custom: {
    50: '#8d67e8',
    500: '#4124db',
    950: '#000000',
  },
}
SCSS
$custom: #4124db;
$custom-light: #8d67e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4124db",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 219
  },
  "hsl": {
    "h": 249.508,
    "s": 71.765,
    "l": 50
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.25098,
    "h": 276.5
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#4124DB
secondary
#C9D684
accent
#EE39D2
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #4124DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4124DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva