#231B4D#231B4D

#231B4D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.088 H 286.0°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#231B4D
RGBrgb(35, 27, 77)
HSLhsl(250, 48%, 20%)
HSVhsv(250, 65%, 30%)
CMYKcmyk(54.5%, 64.9%, 0%, 69.8%)
CIE-LABlab(13.69, 19.20, -29.74)
CIE-LCHlch(13.69, 35.40, 302.84°)
OKLaboklab(26.39% 0.0243 -0.0851)
OKLCHoklch(26.39% 0.088 286)
XYZxyz(2.4242, 1.6769, 7.2157)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B4D #454D1B
analogous
#1B2C4D #231B4D #3C1B4D
triadic
#231B4D #4D231B #1B4D23
tetradic
#231B4D #4D1B2C #454D1B #1B4D3C
square
#231B4D #4D1B2C #454D1B #1B4D3C
split-complementary
#231B4D #4D3C1B #2C4D1B
monochromatic
#0A0817 #0E0B20 #231B4D #382B7A #4C3BA8

Accessibility & contrast

On white

15.73
#231B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#231B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B4D
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B4D#FFFFFF#000000##FFFFFF
##231B4D1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#142731
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231b4d;
/* rgb */ color: rgb(35, 27, 77);
/* oklch */ color: oklch(26.4% 0.088 286.0);
Tailwind
colors: {
  custom: {
    50: '#62577f',
    500: '#231b4d',
    950: '#000000',
  },
}
SCSS
$custom: #231b4d;
$custom-light: #62577f;
$custom-dark: #000000;
JSON
{
  "hex": "#231b4d",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 249.6,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26394,
    "c": 0.08848,
    "h": 286
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#231B4D
secondary
#788341
accent
#D850C2
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #231B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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