#231B60#231B60

#231B60 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.117 H 281.1°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#231B60
RGBrgb(35, 27, 96)
HSLhsl(247, 56%, 24%)
HSVhsv(247, 72%, 38%)
CMYKcmyk(63.5%, 71.9%, 0%, 62.4%)
CIE-LABlab(15.41, 25.99, -39.77)
CIE-LCHlch(15.41, 47.51, 303.16°)
OKLaboklab(28.18% 0.0225 -0.1145)
OKLCHoklch(28.18% 0.117 281.1)
XYZxyz(3.1957, 1.9855, 11.2789)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B60 #58601B
analogous
#1B3660 #231B60 #461B60
triadic
#231B60 #60231B #1B6023
tetradic
#231B60 #601B36 #58601B #1B6046
square
#231B60 #601B36 #58601B #1B6046
split-complementary
#231B60 #60461B #36601B
monochromatic
#090718 #120E30 #231B60 #342890 #4636C0

Accessibility & contrast

On white

15.03
#231B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B60
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B60#FFFFFF#000000##FFFFFF
##231B601.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231b60;
/* rgb */ color: rgb(35, 27, 96);
/* oklch */ color: oklch(28.2% 0.117 281.1);
Tailwind
colors: {
  custom: {
    50: '#66588e',
    500: '#231b60',
    950: '#000000',
  },
}
SCSS
$custom: #231b60;
$custom-light: #66588e;
$custom-dark: #000000;
JSON
{
  "hex": "#231b60",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 246.957,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28183,
    "c": 0.11671,
    "h": 281.1
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#231B60
secondary
#8C9641
accent
#DF48CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231B60

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

Preview Lab → · Contrast checker → · Palette generator →

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