#231487#231487

#231487 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.174 H 275.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#231487
RGBrgb(35, 20, 135)
HSLhsl(248, 74%, 30%)
HSVhsv(248, 85%, 53%)
CMYKcmyk(74.1%, 85.2%, 0%, 47.1%)
CIE-LABlab(18.39, 42.96, -60.05)
CIE-LCHlch(18.39, 73.83, 305.58°)
OKLaboklab(31.57% 0.0169 -0.1736)
OKLCHoklch(31.57% 0.174 275.6)
XYZxyz(5.3150, 2.6064, 23.1399)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231487 #788714
analogous
#143E87 #231487 #5C1487
triadic
#231487 #872314 #148723
tetradic
#231487 #87143E #788714 #14875C
square
#231487 #87143E #788714 #14875C
split-complementary
#231487 #875C14 #3E8714
monochromatic
#07041C #150C52 #231487 #311CBC #4B34E1

Accessibility & contrast

On white

13.80
#231487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#231487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231487
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231487#FFFFFF#000000##FFFFFF
##2314871.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002885
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231487;
/* rgb */ color: rgb(35, 20, 135);
/* oklch */ color: oklch(31.6% 0.174 275.6);
Tailwind
colors: {
  custom: {
    50: '#7056ab',
    500: '#231487',
    950: '#000000',
  },
}
SCSS
$custom: #231487;
$custom-light: #7056ab;
$custom-dark: #000000;
JSON
{
  "hex": "#231487",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 247.826,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.17441,
    "h": 275.6
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231487

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

Preview Lab → · Contrast checker → · Palette generator →

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