#5F66DA#5F66DA

#5F66DA is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.174 H 276.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5F66DA
RGBrgb(95, 102, 218)
HSLhsl(237, 62%, 61%)
HSVhsv(237, 56%, 85%)
CMYKcmyk(56.4%, 53.2%, 0%, 14.5%)
CIE-LABlab(48.26, 30.60, -60.53)
CIE-LCHlch(48.26, 67.82, 296.82°)
OKLaboklab(56.6% 0.0203 -0.1733)
OKLCHoklch(56.6% 0.174 276.7)
XYZxyz(22.1215, 16.9960, 68.4309)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66DA #DAD35F
analogous
#5FA4DA #5F66DA #965FDA
triadic
#5F66DA #DA5F66 #66DA5F
tetradic
#5F66DA #DA5FA4 #DAD35F #5FDA96
square
#5F66DA #DA5FA4 #DAD35F #5FDA96
split-complementary
#5F66DA #DA965F #A4DA5F
monochromatic
#242B9B #2F38CD #5F66DA #9196E5 #C2C5F1

Accessibility & contrast

On white

4.77
#5F66DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5F66DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66DA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66DA#FFFFFF#000000##FFFFFF
##5F66DA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F78DE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#168196
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f66da;
/* rgb */ color: rgb(95, 102, 218);
/* oklch */ color: oklch(56.6% 0.174 276.7);
Tailwind
colors: {
  custom: {
    50: '#9691e6',
    500: '#5f66da',
    950: '#000000',
  },
}
SCSS
$custom: #5f66da;
$custom-light: #9691e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66da",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 236.585,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.17448,
    "h": 276.7
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#5F66DA
secondary
#E1DFB3
accent
#C01BCA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F66DA

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

Preview Lab → · Contrast checker → · Palette generator →

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