#4B64DB#4B64DB

#4B64DB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.183 H 270.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4B64DB
RGBrgb(75, 100, 219)
HSLhsl(230, 67%, 58%)
HSVhsv(230, 66%, 86%)
CMYKcmyk(65.8%, 54.3%, 0%, 14.1%)
CIE-LABlab(46.61, 28.72, -63.82)
CIE-LCHlch(46.61, 69.98, 294.23°)
OKLaboklab(55.06% 0.0011 -0.1835)
OKLCHoklch(55.06% 0.183 270.3)
XYZxyz(20.2407, 15.7228, 68.9722)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B64DB #DBC24B
analogous
#4BACDB #4B64DB #7A4BDB
triadic
#4B64DB #DB4B64 #64DB4B
tetradic
#4B64DB #DB4BAC #DBC24B #4BDB7A
square
#4B64DB #DB4BAC #DBC24B #4BDB7A
split-complementary
#4B64DB #DB7A4B #ACDB4B
monochromatic
#1D308F #2742C2 #4B64DB #7E90E5 #B1BCEF

Accessibility & contrast

On white

5.07
#4B64DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4B64DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B64DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B64DB#FFFFFF#000000##FFFFFF
##4B64DB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b64db;
/* rgb */ color: rgb(75, 100, 219);
/* oklch */ color: oklch(55.1% 0.183 270.3);
Tailwind
colors: {
  custom: {
    50: '#8c8fe7',
    500: '#4b64db',
    950: '#000000',
  },
}
SCSS
$custom: #4b64db;
$custom-light: #8c8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b64db",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 229.583,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.18348,
    "h": 270.3
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#4B64DB
secondary
#DED4A4
accent
#CC3EEA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4B64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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