#231B86#231B86

#231B86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.167 H 274.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#231B86
RGBrgb(35, 27, 134)
HSLhsl(244, 66%, 32%)
HSVhsv(244, 80%, 53%)
CMYKcmyk(73.9%, 79.9%, 0%, 47.5%)
CIE-LABlab(19.48, 39.12, -57.62)
CIE-LCHlch(19.48, 69.64, 304.17°)
OKLaboklab(32.3% 0.0143 -0.1666)
OKLCHoklch(32.3% 0.167 274.9)
XYZxyz(5.3867, 2.8619, 22.8181)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B86 #7E861B
analogous
#1B4986 #231B86 #591B86
triadic
#231B86 #86231B #1B8623
tetradic
#231B86 #861B49 #7E861B #1B8659
square
#231B86 #861B49 #7E861B #1B8659
split-complementary
#231B86 #86591B #49861B
monochromatic
#080620 #161153 #231B86 #3025B9 #4E42D9

Accessibility & contrast

On white

13.36
#231B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B86
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B86#FFFFFF#000000##FFFFFF
##231B861.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231b86;
/* rgb */ color: rgb(35, 27, 134);
/* oklch */ color: oklch(32.3% 0.167 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f5aaa',
    500: '#231b86',
    950: '#000000',
  },
}
SCSS
$custom: #231b86;
$custom-light: #6f5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#231b86",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 244.486,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.16724,
    "h": 274.9
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#231B86
secondary
#B0B944
accent
#E93EDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231B86

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

Preview Lab → · Contrast checker → · Palette generator →

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