#4126DB#4126DB

#4126DB is a mid, highly saturated blue. Relative luminance 0.076; OKLCH L 45.2% C 0.250 H 276.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4126DB
RGBrgb(65, 38, 219)
HSLhsl(249, 72%, 50%)
HSVhsv(249, 83%, 86%)
CMYKcmyk(70.3%, 82.6%, 0%, 14.1%)
CIE-LABlab(33.19, 62.07, -85.86)
CIE-LCHlch(33.19, 105.95, 305.87°)
OKLaboklab(45.2% 0.0277 -0.2481)
OKLCHoklch(45.2% 0.25 276.4)
XYZxyz(15.6551, 7.6230, 67.6505)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126DB #C0DB26
analogous
#2666DB #4126DB #9B26DB
triadic
#4126DB #DB4126 #26DB41
tetradic
#4126DB #DB2666 #C0DB26 #26DB9B
square
#4126DB #DB2666 #C0DB26 #26DB9B
split-complementary
#4126DB #DB9B26 #66DB26
monochromatic
#221373 #311CA8 #4126DB #6F5AE4 #9D8FEC

Accessibility & contrast

On white

8.32
#4126DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4126DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126DB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126DB#FFFFFF#000000##FFFFFF
##4126DB1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055E0
Deuteranopia (green-blind)
#0046D8
Tritanopia (blue-blind)
#006184
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4126db;
/* rgb */ color: rgb(65, 38, 219);
/* oklch */ color: oklch(45.2% 0.250 276.4);
Tailwind
colors: {
  custom: {
    50: '#8d68e8',
    500: '#4126db',
    950: '#000000',
  },
}
SCSS
$custom: #4126db;
$custom-light: #8d68e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4126db",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 219
  },
  "hsl": {
    "h": 248.95,
    "s": 71.542,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.24965,
    "h": 276.4
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#4126DB
secondary
#CBD786
accent
#EE3AD3
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #4126DB

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

Preview Lab → · Contrast checker → · Palette generator →

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