#231789#231789

#231789 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.174 H 275.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#231789
RGBrgb(35, 23, 137)
HSLhsl(246, 71%, 31%)
HSVhsv(246, 83%, 54%)
CMYKcmyk(74.5%, 83.2%, 0%, 46.3%)
CIE-LABlab(19.12, 42.16, -60.10)
CIE-LCHlch(19.12, 73.42, 305.05°)
OKLaboklab(32.15% 0.0152 -0.1738)
OKLCHoklch(32.15% 0.174 275)
XYZxyz(5.5134, 2.7757, 23.9073)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231789 #7D8917
analogous
#174489 #231789 #5C1789
triadic
#231789 #892317 #178923
tetradic
#231789 #891744 #7D8917 #17895C
square
#231789 #891744 #7D8917 #17895C
split-complementary
#231789 #895C17 #448917
monochromatic
#080520 #160E55 #231789 #3020BD #4D3CDE

Accessibility & contrast

On white

13.50
#231789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231789
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231789#FFFFFF#000000##FFFFFF
##2317891.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231789;
/* rgb */ color: rgb(35, 23, 137);
/* oklch */ color: oklch(32.1% 0.174 275.0);
Tailwind
colors: {
  custom: {
    50: '#7058ad',
    500: '#231789',
    950: '#000000',
  },
}
SCSS
$custom: #231789;
$custom-light: #7058ad;
$custom-dark: #000000;
JSON
{
  "hex": "#231789",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 246.316,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32149,
    "c": 0.17444,
    "h": 275
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#231789
secondary
#AFBD3F
accent
#EE3ADB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231789

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

Preview Lab → · Contrast checker → · Palette generator →

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