#23137C#23137C

#23137C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.162 H 277.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#23137C
RGBrgb(35, 19, 124)
HSLhsl(249, 73%, 28%)
HSVhsv(249, 85%, 49%)
CMYKcmyk(71.8%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.88, 39.98, -55.58)
CIE-LCHlch(16.88, 68.47, 305.73°)
OKLaboklab(30.14% 0.0207 -0.1606)
OKLCHoklch(30.14% 0.162 277.4)
XYZxyz(4.5629, 2.2779, 19.2641)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23137C #6C7C13
analogous
#13377C #23137C #57137C
triadic
#23137C #7C2313 #137C23
tetradic
#23137C #7C1337 #6C7C13 #137C57
square
#23137C #7C1337 #6C7C13 #137C57
split-complementary
#23137C #7C5713 #377C13
monochromatic
#07041B #140B47 #23137C #321BB1 #462BDF

Accessibility & contrast

On white

14.43
#23137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23137C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23137C#FFFFFF#000000##FFFFFF
##23137C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #23137c;
/* rgb */ color: rgb(35, 19, 124);
/* oklch */ color: oklch(30.1% 0.162 277.4);
Tailwind
colors: {
  custom: {
    50: '#6d55a3',
    500: '#23137c',
    950: '#000000',
  },
}
SCSS
$custom: #23137c;
$custom-light: #6d55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23137c",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 249.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30141,
    "c": 0.16192,
    "h": 277.4
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23137C

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

Preview Lab → · Contrast checker → · Palette generator →

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