#231B83#231B83

#231B83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.163 H 275.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#231B83
RGBrgb(35, 27, 131)
HSLhsl(245, 66%, 31%)
HSVhsv(245, 79%, 51%)
CMYKcmyk(73.3%, 79.4%, 0%, 48.6%)
CIE-LABlab(19.14, 38.12, -56.30)
CIE-LCHlch(19.14, 67.99, 304.10°)
OKLaboklab(31.95% 0.0151 -0.1628)
OKLCHoklch(31.95% 0.163 275.3)
XYZxyz(5.1805, 2.7794, 21.7318)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B83 #7B831B
analogous
#1B4783 #231B83 #571B83
triadic
#231B83 #83231B #1B8323
tetradic
#231B83 #831B47 #7B831B #1B8357
square
#231B83 #831B47 #7B831B #1B8357
split-complementary
#231B83 #83571B #47831B
monochromatic
#08061E #151150 #231B83 #3125B6 #4C41D8

Accessibility & contrast

On white

13.50
#231B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B83
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B83#FFFFFF#000000##FFFFFF
##231B831.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231b83;
/* rgb */ color: rgb(35, 27, 131);
/* oklch */ color: oklch(32.0% 0.163 275.3);
Tailwind
colors: {
  custom: {
    50: '#6e5aa8',
    500: '#231b83',
    950: '#000000',
  },
}
SCSS
$custom: #231b83;
$custom-light: #6e5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#231b83",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 244.615,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31954,
    "c": 0.16349,
    "h": 275.3
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#231B83
secondary
#AEB643
accent
#E93FDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231B83

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

Preview Lab → · Contrast checker → · Palette generator →

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