#231D85#231D85

#231D85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.164 H 274.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#231D85
RGBrgb(35, 29, 133)
HSLhsl(243, 64%, 32%)
HSVhsv(243, 78%, 52%)
CMYKcmyk(73.7%, 78.2%, 0%, 47.8%)
CIE-LABlab(19.76, 37.67, -56.54)
CIE-LCHlch(19.76, 67.94, 303.68°)
OKLaboklab(32.46% 0.0136 -0.1635)
OKLCHoklch(32.46% 0.164 274.8)
XYZxyz(5.3647, 2.9290, 22.4684)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D85 #7F851D
analogous
#1D4B85 #231D85 #571D85
triadic
#231D85 #85231D #1D8523
tetradic
#231D85 #851D4B #7F851D #1D8557
square
#231D85 #851D4B #7F851D #1D8557
split-complementary
#231D85 #85571D #4B851D
monochromatic
#090721 #161253 #231D85 #3028B7 #4E46D7

Accessibility & contrast

On white

13.24
#231D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#231D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D85
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D85#FFFFFF#000000##FFFFFF
##231D851.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231d85;
/* rgb */ color: rgb(35, 29, 133);
/* oklch */ color: oklch(32.5% 0.164 274.8);
Tailwind
colors: {
  custom: {
    50: '#6f5baa',
    500: '#231d85',
    950: '#000000',
  },
}
SCSS
$custom: #231d85;
$custom-light: #6f5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#231d85",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 243.462,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32456,
    "c": 0.16406,
    "h": 274.8
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#231D85
secondary
#B1B846
accent
#E741DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231D85

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

Preview Lab → · Contrast checker → · Palette generator →

#231D85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva