#231489#231489

#231489 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.177 H 275.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#231489
RGBrgb(35, 20, 137)
HSLhsl(248, 75%, 31%)
HSVhsv(248, 85%, 54%)
CMYKcmyk(74.5%, 85.4%, 0%, 46.3%)
CIE-LABlab(18.64, 43.58, -60.90)
CIE-LCHlch(18.64, 74.88, 305.59°)
OKLaboklab(31.82% 0.0163 -0.176)
OKLCHoklch(31.82% 0.177 275.3)
XYZxyz(5.4572, 2.6632, 23.8885)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231489 #7A8914
analogous
#144089 #231489 #5D1489
triadic
#231489 #892314 #148923
tetradic
#231489 #891440 #7A8914 #14895D
square
#231489 #891440 #7A8914 #14895D
split-complementary
#231489 #895D14 #408914
monochromatic
#08041E #150C54 #231489 #311CBE #4C36E2

Accessibility & contrast

On white

13.70
#231489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#231489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231489
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231489#FFFFFF#000000##FFFFFF
##2314891.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231489;
/* rgb */ color: rgb(35, 20, 137);
/* oklch */ color: oklch(31.8% 0.177 275.3);
Tailwind
colors: {
  custom: {
    50: '#7056ad',
    500: '#231489',
    950: '#000000',
  },
}
SCSS
$custom: #231489;
$custom-light: #7056ad;
$custom-dark: #000000;
JSON
{
  "hex": "#231489",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 247.692,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31817,
    "c": 0.17679,
    "h": 275.3
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#231489
secondary
#ADBD3C
accent
#F137D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231489

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

Preview Lab → · Contrast checker → · Palette generator →

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