#23137E#23137E

#23137E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.164 H 277.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#23137E
RGBrgb(35, 19, 126)
HSLhsl(249, 74%, 28%)
HSVhsv(249, 85%, 49%)
CMYKcmyk(72.2%, 84.9%, 0%, 50.6%)
CIE-LABlab(17.13, 40.61, -56.45)
CIE-LCHlch(17.13, 69.55, 305.73°)
OKLaboklab(30.38% 0.0201 -0.1631)
OKLCHoklch(30.38% 0.164 277)
XYZxyz(4.6907, 2.3290, 19.9370)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23137E #6E7E13
analogous
#13387E #23137E #58137E
triadic
#23137E #7E2313 #137E23
tetradic
#23137E #7E1338 #6E7E13 #137E58
square
#23137E #7E1338 #6E7E13 #137E58
split-complementary
#23137E #7E5813 #387E13
monochromatic
#07041B #140B49 #23137E #321BB3 #472CDF

Accessibility & contrast

On white

14.33
#23137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#23137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23137E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23137E#FFFFFF#000000##FFFFFF
##23137E1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #23137e;
/* rgb */ color: rgb(35, 19, 126);
/* oklch */ color: oklch(30.4% 0.164 277.0);
Tailwind
colors: {
  custom: {
    50: '#6e55a5',
    500: '#23137e',
    950: '#000000',
  },
}
SCSS
$custom: #23137e;
$custom-light: #6e55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23137e",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 248.972,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30381,
    "c": 0.16435,
    "h": 277
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#23137E
secondary
#A1B439
accent
#F037D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23137E

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

Preview Lab → · Contrast checker → · Palette generator →

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