#231685#231685

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

Color values

HEX#231685
RGBrgb(35, 22, 133)
HSLhsl(247, 72%, 30%)
HSVhsv(247, 83%, 52%)
CMYKcmyk(73.7%, 83.5%, 0%, 47.8%)
CIE-LABlab(18.47, 41.38, -58.66)
CIE-LCHlch(18.47, 71.79, 305.20°)
OKLaboklab(31.56% 0.0167 -0.1696)
OKLCHoklch(31.56% 0.17 275.6)
XYZxyz(5.2123, 2.6241, 22.4176)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231685 #788516
analogous
#164085 #231685 #5A1685
triadic
#231685 #852316 #168523
tetradic
#231685 #851640 #788516 #16855A
square
#231685 #851640 #788516 #16855A
split-complementary
#231685 #855A16 #408516
monochromatic
#07051C #150D50 #231685 #311FBA #4B37DE

Accessibility & contrast

On white

13.77
#231685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231685
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231685#FFFFFF#000000##FFFFFF
##2316851.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231685;
/* rgb */ color: rgb(35, 22, 133);
/* oklch */ color: oklch(31.6% 0.170 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f57aa',
    500: '#231685',
    950: '#000000',
  },
}
SCSS
$custom: #231685;
$custom-light: #6f57aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231685",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 247.027,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31557,
    "c": 0.17041,
    "h": 275.6
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#231685
secondary
#ABB93E
accent
#EE39D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231685

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

Preview Lab → · Contrast checker → · Palette generator →

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