#4B34DB#4B34DB

#4B34DB is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.4% C 0.237 H 278.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4B34DB
RGBrgb(75, 52, 219)
HSLhsl(248, 70%, 53%)
HSVhsv(248, 76%, 86%)
CMYKcmyk(65.8%, 76.3%, 0%, 14.1%)
CIE-LABlab(36.11, 56.62, -81.00)
CIE-LCHlch(36.11, 98.82, 304.95°)
OKLaboklab(47.42% 0.0354 -0.2339)
OKLCHoklch(47.42% 0.237 278.6)
XYZxyz(16.9117, 9.0649, 67.8626)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34DB #C4DB34
analogous
#3471DB #4B34DB #9E34DB
triadic
#4B34DB #DB4B34 #34DB4B
tetradic
#4B34DB #DB3471 #C4DB34 #34DB9E
square
#4B34DB #DB3471 #C4DB34 #34DB9E
split-complementary
#4B34DB #DB9E34 #71DB34
monochromatic
#25167E #3420B2 #4B34DB #7968E4 #A79CED

Accessibility & contrast

On white

7.46
#4B34DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4B34DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34DB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34DB#FFFFFF#000000##FFFFFF
##4B34DB1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#004ED8
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4b34db;
/* rgb */ color: rgb(75, 52, 219);
/* oklch */ color: oklch(47.4% 0.237 278.6);
Tailwind
colors: {
  custom: {
    50: '#906fe8',
    500: '#4b34db',
    950: '#000000',
  },
}
SCSS
$custom: #4b34db;
$custom-light: #906fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34db",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 248.263,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.23659,
    "h": 278.6
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#4B34DB
secondary
#CFD991
accent
#ED3BD4
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4B34DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4B34DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva