#4B78DF#4B78DF

#4B78DF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.165 H 264.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4B78DF
RGBrgb(75, 120, 223)
HSLhsl(222, 70%, 58%)
HSVhsv(222, 66%, 87%)
CMYKcmyk(66.4%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.12, 17.64, -57.19)
CIE-LCHlch(52.12, 59.85, 287.14°)
OKLaboklab(59.33% -0.0165 -0.1637)
OKLCHoklch(59.33% 0.165 264.2)
XYZxyz(22.9327, 20.2543, 72.4986)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B78DF #DFB24B
analogous
#4BC2DF #4B78DF #684BDF
triadic
#4B78DF #DF4B78 #78DF4B
tetradic
#4B78DF #DF4BC2 #DFB24B #4BDF68
square
#4B78DF #DF4BC2 #DFB24B #4BDF68
split-complementary
#4B78DF #DF684B #C2DF4B
monochromatic
#1B4095 #2456C9 #4B78DF #7F9FE8 #B3C6F1

Accessibility & contrast

On white

4.16
#4B78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4B78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B78DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B78DF#FFFFFF#000000##000000
##4B78DF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#2676DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b78df;
/* rgb */ color: rgb(75, 120, 223);
/* oklch */ color: oklch(59.3% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#8c9ee9',
    500: '#4b78df',
    950: '#000000',
  },
}
SCSS
$custom: #4b78df;
$custom-light: #8c9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b78df",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 221.757,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.16452,
    "h": 264.2
  },
  "luminance": 0.20257
}

Semantic roles & 50–950 ramp

primary
#4B78DF
secondary
#E0CEA6
accent
#B73BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4B78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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