#231B5D#231B5D

#231B5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.9% C 0.112 H 281.8°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#231B5D
RGBrgb(35, 27, 93)
HSLhsl(247, 55%, 24%)
HSVhsv(247, 71%, 36%)
CMYKcmyk(62.4%, 71%, 0%, 63.5%)
CIE-LABlab(15.12, 24.92, -38.25)
CIE-LCHlch(15.12, 45.65, 303.08°)
OKLaboklab(27.89% 0.0229 -0.1101)
OKLCHoklch(27.89% 0.112 281.8)
XYZxyz(3.0602, 1.9313, 10.5653)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B5D #555D1B
analogous
#1B345D #231B5D #441B5D
triadic
#231B5D #5D231B #1B5D23
tetradic
#231B5D #5D1B34 #555D1B #1B5D44
square
#231B5D #5D1B34 #555D1B #1B5D44
split-complementary
#231B5D #5D441B #345D1B
monochromatic
#090718 #110D2E #231B5D #35298C #4737BC

Accessibility & contrast

On white

15.15
#231B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#231B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B5D
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B5D#FFFFFF#000000##FFFFFF
##231B5D1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#022C39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231b5d;
/* rgb */ color: rgb(35, 27, 93);
/* oklch */ color: oklch(27.9% 0.112 281.8);
Tailwind
colors: {
  custom: {
    50: '#65588c',
    500: '#231b5d',
    950: '#000000',
  },
}
SCSS
$custom: #231b5d;
$custom-light: #65588c;
$custom-dark: #000000;
JSON
{
  "hex": "#231b5d",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 247.273,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27886,
    "c": 0.11242,
    "h": 281.8
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#231B5D
secondary
#899341
accent
#DE49CC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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