#231885#231885

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

Color values

HEX#231885
RGBrgb(35, 24, 133)
HSLhsl(246, 69%, 31%)
HSVhsv(246, 82%, 52%)
CMYKcmyk(73.7%, 82%, 0%, 47.8%)
CIE-LABlab(18.82, 40.38, -58.09)
CIE-LCHlch(18.82, 70.75, 304.80°)
OKLaboklab(31.8% 0.0159 -0.168)
OKLCHoklch(31.8% 0.169 275.4)
XYZxyz(5.2520, 2.7035, 22.4308)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231885 #7A8518
analogous
#184385 #231885 #591885
triadic
#231885 #852318 #188523
tetradic
#231885 #851843 #7A8518 #188559
square
#231885 #851843 #7A8518 #188559
split-complementary
#231885 #855918 #438518
monochromatic
#08051D #150F51 #231885 #3121B9 #4C3CDC

Accessibility & contrast

On white

13.63
#231885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231885
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231885#FFFFFF#000000##FFFFFF
##2318851.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231885;
/* rgb */ color: rgb(35, 24, 133);
/* oklch */ color: oklch(31.8% 0.169 275.4);
Tailwind
colors: {
  custom: {
    50: '#6f58aa',
    500: '#231885',
    950: '#000000',
  },
}
SCSS
$custom: #231885;
$custom-light: #6f58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231885",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 246.055,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31796,
    "c": 0.16872,
    "h": 275.4
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#231885
secondary
#ADB940
accent
#EC3CDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231885

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

Preview Lab → · Contrast checker → · Palette generator →

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