#231687#231687

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

Color values

HEX#231687
RGBrgb(35, 22, 135)
HSLhsl(247, 72%, 31%)
HSVhsv(247, 84%, 53%)
CMYKcmyk(74.1%, 83.7%, 0%, 47.1%)
CIE-LABlab(18.71, 42.02, -59.52)
CIE-LCHlch(18.71, 72.86, 305.22°)
OKLaboklab(31.8% 0.0162 -0.1721)
OKLCHoklch(31.8% 0.173 275.4)
XYZxyz(5.3518, 2.6799, 23.1522)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231687 #7A8716
analogous
#164187 #231687 #5B1687
triadic
#231687 #872316 #168723
tetradic
#231687 #871641 #7A8716 #16875B
square
#231687 #871641 #7A8716 #16875B
split-complementary
#231687 #875B16 #418716
monochromatic
#08051E #150D52 #231687 #311FBC #4C39DF

Accessibility & contrast

On white

13.67
#231687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231687
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231687#FFFFFF#000000##FFFFFF
##2316871.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002885
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231687;
/* rgb */ color: rgb(35, 22, 135);
/* oklch */ color: oklch(31.8% 0.173 275.4);
Tailwind
colors: {
  custom: {
    50: '#7057ab',
    500: '#231687',
    950: '#000000',
  },
}
SCSS
$custom: #231687;
$custom-light: #7057ab;
$custom-dark: #000000;
JSON
{
  "hex": "#231687",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 246.903,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31796,
    "c": 0.17284,
    "h": 275.4
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#231687
secondary
#ADBB3E
accent
#EF39DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231687

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

Preview Lab → · Contrast checker → · Palette generator →

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