#5F65CA#5F65CA

#5F65CA is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.154 H 277.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5F65CA
RGBrgb(95, 101, 202)
HSLhsl(237, 50%, 58%)
HSVhsv(237, 53%, 79%)
CMYKcmyk(53%, 50%, 0%, 20.8%)
CIE-LABlab(46.98, 26.08, -53.45)
CIE-LCHlch(46.98, 59.47, 296.01°)
OKLaboklab(55.31% 0.0202 -0.1525)
OKLCHoklch(55.31% 0.154 277.5)
XYZxyz(20.0303, 16.0033, 57.8991)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65CA #CAC45F
analogous
#5F9ACA #5F65CA #8F5FCA
triadic
#5F65CA #CA5F65 #65CA5F
tetradic
#5F65CA #CA5F9A #CAC45F #5FCA8F
square
#5F65CA #CA5F9A #CAC45F #5FCA8F
split-complementary
#5F65CA #CA8F5F #9ACA5F
monochromatic
#2B3083 #3B41B1 #5F65CA #8D91D9 #BBBDE8

Accessibility & contrast

On white

5.00
#5F65CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5F65CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65CA#FFFFFF#000000##FFFFFF
##5F65CA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#2F7B8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f65ca;
/* rgb */ color: rgb(95, 101, 202);
/* oklch */ color: oklch(55.3% 0.154 277.5);
Tailwind
colors: {
  custom: {
    50: '#9490db',
    500: '#5f65ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f65ca;
$custom-light: #9490db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65ca",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 236.636,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.15381,
    "h": 277.5
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#5F65CA
secondary
#D8D5AD
accent
#D24EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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