#231B8D#231B8D

#231B8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.176 H 274.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#231B8D
RGBrgb(35, 27, 141)
HSLhsl(244, 68%, 33%)
HSVhsv(244, 81%, 55%)
CMYKcmyk(75.2%, 80.9%, 0%, 44.7%)
CIE-LABlab(20.30, 41.42, -60.66)
CIE-LCHlch(20.30, 73.45, 304.33°)
OKLaboklab(33.11% 0.0126 -0.1755)
OKLCHoklch(33.11% 0.176 274.1)
XYZxyz(5.8912, 3.0637, 25.4750)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B8D #858D1B
analogous
#1B4C8D #231B8D #5C1B8D
triadic
#231B8D #8D231B #1B8D23
tetradic
#231B8D #8D1B4C #858D1B #1B8D5C
square
#231B8D #8D1B4C #858D1B #1B8D5C
split-complementary
#231B8D #8D5C1B #4C8D1B
monochromatic
#0A0726 #16115A #231B8D #3025C0 #5147DC

Accessibility & contrast

On white

13.02
#231B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B8D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B8D#FFFFFF#000000##FFFFFF
##231B8D1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231b8d;
/* rgb */ color: rgb(35, 27, 141);
/* oklch */ color: oklch(33.1% 0.176 274.1);
Tailwind
colors: {
  custom: {
    50: '#715ab0',
    500: '#231b8d',
    950: '#000000',
  },
}
SCSS
$custom: #231b8d;
$custom-light: #715ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#231b8d",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 244.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33105,
    "c": 0.17591,
    "h": 274.1
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#231B8D
secondary
#B5BD46
accent
#EB3DDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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