#231B89#231B89

#231B89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.171 H 274.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#231B89
RGBrgb(35, 27, 137)
HSLhsl(244, 67%, 32%)
HSVhsv(244, 80%, 54%)
CMYKcmyk(74.5%, 80.3%, 0%, 46.3%)
CIE-LABlab(19.83, 40.11, -58.93)
CIE-LCHlch(19.83, 71.28, 304.24°)
OKLaboklab(32.64% 0.0136 -0.1704)
OKLCHoklch(32.64% 0.171 274.6)
XYZxyz(5.5989, 2.9468, 23.9358)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B89 #81891B
analogous
#1B4A89 #231B89 #5A1B89
triadic
#231B89 #89231B #1B8923
tetradic
#231B89 #891B4A #81891B #1B895A
square
#231B89 #891B4A #81891B #1B895A
split-complementary
#231B89 #895A1B #4A891B
monochromatic
#090723 #161156 #231B89 #3025BC #4F44DA

Accessibility & contrast

On white

13.21
#231B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B89
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B89#FFFFFF#000000##FFFFFF
##231B891.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231b89;
/* rgb */ color: rgb(35, 27, 137);
/* oklch */ color: oklch(32.6% 0.171 274.6);
Tailwind
colors: {
  custom: {
    50: '#705aad',
    500: '#231b89',
    950: '#000000',
  },
}
SCSS
$custom: #231b89;
$custom-light: #705aad;
$custom-dark: #000000;
JSON
{
  "hex": "#231b89",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 244.364,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.17098,
    "h": 274.6
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#231B89
secondary
#B3BC44
accent
#EA3EDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231B89

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

Preview Lab → · Contrast checker → · Palette generator →

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