#231989#231989

#231989 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.173 H 274.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#231989
RGBrgb(35, 25, 137)
HSLhsl(245, 69%, 32%)
HSVhsv(245, 82%, 54%)
CMYKcmyk(74.5%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.47, 41.16, -59.53)
CIE-LCHlch(19.47, 72.37, 304.66°)
OKLaboklab(32.39% 0.0144 -0.1721)
OKLCHoklch(32.39% 0.173 274.8)
XYZxyz(5.5546, 2.8582, 23.9210)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231989 #7F8919
analogous
#194789 #231989 #5B1989
triadic
#231989 #892319 #198923
tetradic
#231989 #891947 #7F8919 #19895B
square
#231989 #891947 #7F8919 #19895B
split-complementary
#231989 #895B19 #478919
monochromatic
#090621 #161055 #231989 #3022BD #4E40DC

Accessibility & contrast

On white

13.36
#231989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231989
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231989#FFFFFF#000000##FFFFFF
##2319891.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231989;
/* rgb */ color: rgb(35, 25, 137);
/* oklch */ color: oklch(32.4% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#7059ad',
    500: '#231989',
    950: '#000000',
  },
}
SCSS
$custom: #231989;
$custom-light: #7059ad;
$custom-dark: #000000;
JSON
{
  "hex": "#231989",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 245.357,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.17275,
    "h": 274.8
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#231989
secondary
#B1BC41
accent
#EC3CDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231989

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

Preview Lab → · Contrast checker → · Palette generator →

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