#231785#231785

#231785 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.170 H 275.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#231785
RGBrgb(35, 23, 133)
HSLhsl(247, 71%, 31%)
HSVhsv(247, 83%, 52%)
CMYKcmyk(73.7%, 82.7%, 0%, 47.8%)
CIE-LABlab(18.64, 40.89, -58.38)
CIE-LCHlch(18.64, 71.28, 305.00°)
OKLaboklab(31.67% 0.0163 -0.1688)
OKLCHoklch(31.67% 0.17 275.5)
XYZxyz(5.2318, 2.6631, 22.4241)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231785 #798517
analogous
#174285 #231785 #5A1785
triadic
#231785 #852317 #178523
tetradic
#231785 #851742 #798517 #17855A
square
#231785 #851742 #798517 #17855A
split-complementary
#231785 #855A17 #428517
monochromatic
#08051D #150E51 #231785 #3120B9 #4B3ADD

Accessibility & contrast

On white

13.70
#231785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231785
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231785#FFFFFF#000000##FFFFFF
##2317851.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231785;
/* rgb */ color: rgb(35, 23, 133);
/* oklch */ color: oklch(31.7% 0.170 275.5);
Tailwind
colors: {
  custom: {
    50: '#6f58aa',
    500: '#231785',
    950: '#000000',
  },
}
SCSS
$custom: #231785;
$custom-light: #6f58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231785",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 246.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.16958,
    "h": 275.5
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#231785
secondary
#ACB93F
accent
#ED3BDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231785

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

Preview Lab → · Contrast checker → · Palette generator →

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