#23137B#23137B

#23137B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.161 H 277.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#23137B
RGBrgb(35, 19, 123)
HSLhsl(249, 73%, 28%)
HSVhsv(249, 85%, 48%)
CMYKcmyk(71.5%, 84.6%, 0%, 51.8%)
CIE-LABlab(16.76, 39.67, -55.15)
CIE-LCHlch(16.76, 67.93, 305.73°)
OKLaboklab(30.02% 0.0211 -0.1593)
OKLCHoklch(30.02% 0.161 277.5)
XYZxyz(4.5000, 2.2527, 18.9327)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23137B #6B7B13
analogous
#13377B #23137B #57137B
triadic
#23137B #7B2313 #137B23
tetradic
#23137B #7B1337 #6B7B13 #137B57
square
#23137B #7B1337 #6B7B13 #137B57
split-complementary
#23137B #7B5713 #377B13
monochromatic
#08041B #140B46 #23137B #321BB0 #462ADE

Accessibility & contrast

On white

14.48
#23137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#23137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23137B
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23137B#FFFFFF#000000##FFFFFF
##23137B1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #23137b;
/* rgb */ color: rgb(35, 19, 123);
/* oklch */ color: oklch(30.0% 0.161 277.5);
Tailwind
colors: {
  custom: {
    50: '#6d55a2',
    500: '#23137b',
    950: '#000000',
  },
}
SCSS
$custom: #23137b;
$custom-light: #6d55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23137b",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 249.231,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30022,
    "c": 0.1607,
    "h": 277.5
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#23137B
secondary
#9EB139
accent
#F038D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23137B

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

Preview Lab → · Contrast checker → · Palette generator →

#23137B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva