#231B59#231B59

#231B59 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.107 H 282.7°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#231B59
RGBrgb(35, 27, 89)
HSLhsl(248, 53%, 23%)
HSVhsv(248, 70%, 35%)
CMYKcmyk(60.7%, 69.7%, 0%, 65.1%)
CIE-LABlab(14.75, 23.49, -36.18)
CIE-LCHlch(14.75, 43.13, 302.99°)
OKLaboklab(27.5% 0.0234 -0.104)
OKLCHoklch(27.5% 0.107 282.7)
XYZxyz(2.8877, 1.8623, 9.6565)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B59 #51591B
analogous
#1B3259 #231B59 #421B59
triadic
#231B59 #59231B #1B5923
tetradic
#231B59 #591B32 #51591B #1B5942
square
#231B59 #591B32 #51591B #1B5942
split-complementary
#231B59 #59421B #32591B
monochromatic
#090717 #110D2A #231B59 #352988 #4837B7

Accessibility & contrast

On white

15.30
#231B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B59
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B59#FFFFFF#000000##FFFFFF
##231B591.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#082A37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231b59;
/* rgb */ color: rgb(35, 27, 89);
/* oklch */ color: oklch(27.5% 0.107 282.7);
Tailwind
colors: {
  custom: {
    50: '#645888',
    500: '#231b59',
    950: '#000000',
  },
}
SCSS
$custom: #231b59;
$custom-light: #645888;
$custom-dark: #000000;
JSON
{
  "hex": "#231b59",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 247.742,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27497,
    "c": 0.10659,
    "h": 282.7
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#231B59
secondary
#858F41
accent
#DD4BCA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231B59

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

Preview Lab → · Contrast checker → · Palette generator →

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