#23137D#23137D

#23137D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.163 H 277.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#23137D
RGBrgb(35, 19, 125)
HSLhsl(249, 74%, 28%)
HSVhsv(249, 85%, 49%)
CMYKcmyk(72%, 84.8%, 0%, 51%)
CIE-LABlab(17.00, 40.30, -56.02)
CIE-LCHlch(17.00, 69.01, 305.73°)
OKLaboklab(30.26% 0.0204 -0.1619)
OKLCHoklch(30.26% 0.163 277.2)
XYZxyz(4.6265, 2.3033, 19.5988)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23137D #6D7D13
analogous
#13387D #23137D #58137D
triadic
#23137D #7D2313 #137D23
tetradic
#23137D #7D1338 #6D7D13 #137D58
square
#23137D #7D1338 #6D7D13 #137D58
split-complementary
#23137D #7D5813 #387D13
monochromatic
#07041B #140B48 #23137D #321BB2 #472CDF

Accessibility & contrast

On white

14.38
#23137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#23137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23137D
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23137D#FFFFFF#000000##FFFFFF
##23137D1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #23137d;
/* rgb */ color: rgb(35, 19, 125);
/* oklch */ color: oklch(30.3% 0.163 277.2);
Tailwind
colors: {
  custom: {
    50: '#6e55a4',
    500: '#23137d',
    950: '#000000',
  },
}
SCSS
$custom: #23137d;
$custom-light: #6e55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23137d",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 249.057,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30261,
    "c": 0.16314,
    "h": 277.2
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#23137D
secondary
#A0B339
accent
#F038D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23137D

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

Preview Lab → · Contrast checker → · Palette generator →

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