#5F78DB#5F78DB

#5F78DB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.153 H 270.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F78DB
RGBrgb(95, 120, 219)
HSLhsl(228, 63%, 62%)
HSVhsv(228, 57%, 86%)
CMYKcmyk(56.6%, 45.2%, 0%, 14.1%)
CIE-LABlab(52.93, 19.89, -53.59)
CIE-LCHlch(52.93, 57.16, 290.36°)
OKLaboklab(60.15% 0.0015 -0.1527)
OKLCHoklch(60.15% 0.153 270.6)
XYZxyz(24.2177, 20.9785, 69.7772)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F78DB #DBC25F
analogous
#5FB6DB #5F78DB #845FDB
triadic
#5F78DB #DB5F78 #78DB5F
tetradic
#5F78DB #DB5FB6 #DBC25F #5FDB84
square
#5F78DB #DB5FB6 #DBC25F #5FDB84
split-complementary
#5F78DB #DB845F #B6DB5F
monochromatic
#233C9C #2E4FCE #5F78DB #91A2E6 #C3CCF1

Accessibility & contrast

On white

4.04
#5F78DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5F78DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F78DB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F78DB#FFFFFF#000000##000000
##5F78DB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#098E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f78db;
/* rgb */ color: rgb(95, 120, 219);
/* oklch */ color: oklch(60.1% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#969ee7',
    500: '#5f78db',
    950: '#000000',
  },
}
SCSS
$custom: #5f78db;
$custom-light: #969ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f78db",
  "rgb": {
    "r": 95,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 227.903,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.15273,
    "h": 270.6
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#5F78DB
secondary
#E2D9B4
accent
#A71ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F78DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5F78DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva