#231B8A#231B8A

#231B8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.172 H 274.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#231B8A
RGBrgb(35, 27, 138)
HSLhsl(244, 67%, 32%)
HSVhsv(244, 80%, 54%)
CMYKcmyk(74.6%, 80.4%, 0%, 45.9%)
CIE-LABlab(19.95, 40.44, -59.36)
CIE-LCHlch(19.95, 71.83, 304.26°)
OKLaboklab(32.76% 0.0133 -0.1717)
OKLCHoklch(32.76% 0.172 274.4)
XYZxyz(5.6710, 2.9756, 24.3153)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B8A #828A1B
analogous
#1B4B8A #231B8A #5A1B8A
triadic
#231B8A #8A231B #1B8A23
tetradic
#231B8A #8A1B4B #828A1B #1B8A5A
square
#231B8A #8A1B4B #828A1B #1B8A5A
split-complementary
#231B8A #8A5A1B #4B8A1B
monochromatic
#090724 #161157 #231B8A #3025BD #5045DB

Accessibility & contrast

On white

13.16
#231B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#231B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B8A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B8A#FFFFFF#000000##FFFFFF
##231B8A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231b8a;
/* rgb */ color: rgb(35, 27, 138);
/* oklch */ color: oklch(32.8% 0.172 274.4);
Tailwind
colors: {
  custom: {
    50: '#705aad',
    500: '#231b8a',
    950: '#000000',
  },
}
SCSS
$custom: #231b8a;
$custom-light: #705aad;
$custom-dark: #000000;
JSON
{
  "hex": "#231b8a",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 244.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32757,
    "c": 0.17222,
    "h": 274.4
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#231B8A
secondary
#B3BC45
accent
#EA3EDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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