#595ECB#595ECB

#595ECB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.166 H 277.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#595ECB
RGBrgb(89, 94, 203)
HSLhsl(237, 52%, 57%)
HSVhsv(237, 56%, 80%)
CMYKcmyk(56.2%, 53.7%, 0%, 20.4%)
CIE-LABlab(44.86, 29.52, -57.46)
CIE-LCHlch(44.86, 64.60, 297.19°)
OKLaboklab(53.63% 0.0209 -0.1645)
OKLCHoklch(53.63% 0.166 277.3)
XYZxyz(18.8986, 14.4398, 58.2796)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595ECB #CBC659
analogous
#5997CB #595ECB #8D59CB
triadic
#595ECB #CB595E #5ECB59
tetradic
#595ECB #CB5997 #CBC659 #59CB8D
square
#595ECB #CB5997 #CBC659 #59CB8D
split-complementary
#595ECB #CB8D59 #97CB59
monochromatic
#282C81 #373CB0 #595ECB #888BDA #B6B8E8

Accessibility & contrast

On white

5.40
#595ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#595ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595ECB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595ECB#FFFFFF#000000##FFFFFF
##595ECB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#1A778B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #595ecb;
/* rgb */ color: rgb(89, 94, 203);
/* oklch */ color: oklch(53.6% 0.166 277.3);
Tailwind
colors: {
  custom: {
    50: '#918bdb',
    500: '#595ecb',
    950: '#000000',
  },
}
SCSS
$custom: #595ecb;
$custom-light: #918bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#595ecb",
  "rgb": {
    "r": 89,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 237.368,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.16582,
    "h": 277.3
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #595ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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