#595FCB#595FCB

#595FCB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.165 H 276.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#595FCB
RGBrgb(89, 95, 203)
HSLhsl(237, 52%, 57%)
HSVhsv(237, 56%, 80%)
CMYKcmyk(56.2%, 53.2%, 0%, 20.4%)
CIE-LABlab(45.11, 28.90, -57.06)
CIE-LCHlch(45.11, 63.96, 296.86°)
OKLaboklab(53.82% 0.0199 -0.1633)
OKLCHoklch(53.82% 0.165 276.9)
XYZxyz(18.9881, 14.6188, 58.3095)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595FCB #CBC559
analogous
#5998CB #595FCB #8C59CB
triadic
#595FCB #CB595F #5FCB59
tetradic
#595FCB #CB5998 #CBC559 #59CB8C
square
#595FCB #CB5998 #CBC559 #59CB8C
split-complementary
#595FCB #CB8C59 #98CB59
monochromatic
#282D81 #373DB0 #595FCB #888CDA #B6B9E8

Accessibility & contrast

On white

5.35
#595FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#595FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595FCB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595FCB#FFFFFF#000000##FFFFFF
##595FCB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#19788C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #595fcb;
/* rgb */ color: rgb(89, 95, 203);
/* oklch */ color: oklch(53.8% 0.165 276.9);
Tailwind
colors: {
  custom: {
    50: '#918cdb',
    500: '#595fcb',
    950: '#000000',
  },
}
SCSS
$custom: #595fcb;
$custom-light: #918cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#595fcb",
  "rgb": {
    "r": 89,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 236.842,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.16451,
    "h": 276.9
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#595FCB
secondary
#D7D5A9
accent
#D44CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #595FCB

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

Preview Lab → · Contrast checker → · Palette generator →

#595FCB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva