#231689#231689

#231689 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.175 H 275.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#231689
RGBrgb(35, 22, 137)
HSLhsl(247, 72%, 31%)
HSVhsv(247, 84%, 54%)
CMYKcmyk(74.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.96, 42.65, -60.38)
CIE-LCHlch(18.96, 73.92, 305.24°)
OKLaboklab(32.04% 0.0156 -0.1746)
OKLCHoklch(32.04% 0.175 275.1)
XYZxyz(5.4939, 2.7367, 23.9008)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231689 #7C8916
analogous
#164289 #231689 #5C1689
triadic
#231689 #892316 #168923
tetradic
#231689 #891642 #7C8916 #16895C
square
#231689 #891642 #7C8916 #16895C
split-complementary
#231689 #895C16 #428916
monochromatic
#080520 #160E54 #231689 #301EBE #4D3ADF

Accessibility & contrast

On white

13.57
#231689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231689
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231689#FFFFFF#000000##FFFFFF
##2316891.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231689;
/* rgb */ color: rgb(35, 22, 137);
/* oklch */ color: oklch(32.0% 0.175 275.1);
Tailwind
colors: {
  custom: {
    50: '#7057ad',
    500: '#231689',
    950: '#000000',
  },
}
SCSS
$custom: #231689;
$custom-light: #7057ad;
$custom-dark: #000000;
JSON
{
  "hex": "#231689",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 246.783,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32035,
    "c": 0.17525,
    "h": 275.1
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231689

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

Preview Lab → · Contrast checker → · Palette generator →

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