#231688#231688

#231688 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.174 H 275.2°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#231688
RGBrgb(35, 22, 136)
HSLhsl(247, 72%, 31%)
HSVhsv(247, 84%, 53%)
CMYKcmyk(74.3%, 83.8%, 0%, 46.7%)
CIE-LABlab(18.84, 42.33, -59.95)
CIE-LCHlch(18.84, 73.39, 305.23°)
OKLaboklab(31.92% 0.0159 -0.1733)
OKLCHoklch(31.92% 0.174 275.2)
XYZxyz(5.4225, 2.7082, 23.5247)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231688 #7B8816
analogous
#164288 #231688 #5C1688
triadic
#231688 #882316 #168823
tetradic
#231688 #881642 #7B8816 #16885C
square
#231688 #881642 #7B8816 #16885C
split-complementary
#231688 #885C16 #428816
monochromatic
#08051F #150D53 #231688 #311FBD #4C39DF

Accessibility & contrast

On white

13.62
#231688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231688
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231688#FFFFFF#000000##FFFFFF
##2316881.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231688;
/* rgb */ color: rgb(35, 22, 136);
/* oklch */ color: oklch(31.9% 0.174 275.2);
Tailwind
colors: {
  custom: {
    50: '#7057ac',
    500: '#231688',
    950: '#000000',
  },
}
SCSS
$custom: #231688;
$custom-light: #7057ac;
$custom-dark: #000000;
JSON
{
  "hex": "#231688",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 246.842,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31915,
    "c": 0.17405,
    "h": 275.2
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231688

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

Preview Lab → · Contrast checker → · Palette generator →

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