#231589#231589

#231589 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.176 H 275.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#231589
RGBrgb(35, 21, 137)
HSLhsl(247, 73%, 31%)
HSVhsv(247, 85%, 54%)
CMYKcmyk(74.5%, 84.7%, 0%, 46.3%)
CIE-LABlab(18.80, 43.12, -60.64)
CIE-LCHlch(18.80, 74.41, 305.41°)
OKLaboklab(31.92% 0.0159 -0.1753)
OKLCHoklch(31.92% 0.176 275.2)
XYZxyz(5.4752, 2.6993, 23.8945)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231589 #7B8915
analogous
#154189 #231589 #5D1589
triadic
#231589 #892315 #158923
tetradic
#231589 #891541 #7B8915 #15895D
square
#231589 #891541 #7B8915 #15895D
split-complementary
#231589 #895D15 #418915
monochromatic
#08051F #150D54 #231589 #311DBE #4C38E0

Accessibility & contrast

On white

13.64
#231589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#231589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231589
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231589#FFFFFF#000000##FFFFFF
##2315891.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231589;
/* rgb */ color: rgb(35, 21, 137);
/* oklch */ color: oklch(31.9% 0.176 275.2);
Tailwind
colors: {
  custom: {
    50: '#7057ad',
    500: '#231589',
    950: '#000000',
  },
}
SCSS
$custom: #231589;
$custom-light: #7057ad;
$custom-dark: #000000;
JSON
{
  "hex": "#231589",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 247.241,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31924,
    "c": 0.17603,
    "h": 275.2
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#231589
secondary
#AEBD3D
accent
#F038DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231589

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

Preview Lab → · Contrast checker → · Palette generator →

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