#231594#231594

#231594 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.3% C 0.189 H 273.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#231594
RGBrgb(35, 21, 148)
HSLhsl(247, 75%, 33%)
HSVhsv(247, 86%, 58%)
CMYKcmyk(76.4%, 85.8%, 0%, 42%)
CIE-LABlab(20.17, 46.51, -65.22)
CIE-LCHlch(20.17, 80.10, 305.49°)
OKLaboklab(33.26% 0.0127 -0.1886)
OKLCHoklch(33.26% 0.189 273.8)
XYZxyz(6.3048, 3.0311, 28.2640)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231594 #869415
analogous
#154694 #231594 #621594
triadic
#231594 #942315 #159423
tetradic
#231594 #941546 #869415 #159462
square
#231594 #941546 #869415 #159462
split-complementary
#231594 #946215 #469415
monochromatic
#0A0629 #160D5E #231594 #301DCA #5240E4

Accessibility & contrast

On white

13.07
#231594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231594
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231594#FFFFFF#000000##FFFFFF
##2315941.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003697
Deuteranopia (green-blind)
#002B92
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231594;
/* rgb */ color: rgb(35, 21, 148);
/* oklch */ color: oklch(33.3% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#7358b5',
    500: '#231594',
    950: '#000000',
  },
}
SCSS
$custom: #231594;
$custom-light: #7358b5;
$custom-dark: #000000;
JSON
{
  "hex": "#231594",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 148
  },
  "hsl": {
    "h": 246.614,
    "s": 75.148,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33263,
    "c": 0.18902,
    "h": 273.8
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#231594
secondary
#B5C441
accent
#F236DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #231594

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

Preview Lab → · Contrast checker → · Palette generator →

#231594 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva