#595ED4#595ED4

#595ED4 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.178 H 276.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#595ED4
RGBrgb(89, 94, 212)
HSLhsl(238, 59%, 59%)
HSVhsv(238, 58%, 83%)
CMYKcmyk(58%, 55.7%, 0%, 16.9%)
CIE-LABlab(45.47, 32.45, -61.63)
CIE-LCHlch(45.47, 69.65, 297.76°)
OKLaboklab(54.28% 0.0213 -0.1768)
OKLCHoklch(54.28% 0.178 276.9)
XYZxyz(20.0024, 14.8813, 64.0929)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595ED4 #D4CF59
analogous
#599CD4 #595ED4 #9259D4
triadic
#595ED4 #D4595E #5ED459
tetradic
#595ED4 #D4599C #D4CF59 #59D492
square
#595ED4 #D4599C #D4CF59 #59D492
split-complementary
#595ED4 #D49259 #9CD459
monochromatic
#25298E #3137BE #595ED4 #8A8DE1 #BABCED

Accessibility & contrast

On white

5.28
#595ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#595ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #595ED4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595ED4#FFFFFF#000000##FFFFFF
##595ED41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #595ed4;
/* rgb */ color: rgb(89, 94, 212);
/* oklch */ color: oklch(54.3% 0.178 276.9);
Tailwind
colors: {
  custom: {
    50: '#938be2',
    500: '#595ed4',
    950: '#000000',
  },
}
SCSS
$custom: #595ed4;
$custom-light: #938be2;
$custom-dark: #000000;
JSON
{
  "hex": "#595ed4",
  "rgb": {
    "r": 89,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 237.561,
    "s": 58.852,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.17803,
    "h": 276.9
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

primary
#595ED4
secondary
#DDDBAC
accent
#DC46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #595ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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