#23137F#23137F

#23137F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.166 H 276.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#23137F
RGBrgb(35, 19, 127)
HSLhsl(249, 74%, 29%)
HSVhsv(249, 85%, 50%)
CMYKcmyk(72.4%, 85%, 0%, 50.2%)
CIE-LABlab(17.25, 40.93, -56.89)
CIE-LCHlch(17.25, 70.08, 305.73°)
OKLaboklab(30.5% 0.0198 -0.1644)
OKLCHoklch(30.5% 0.166 276.9)
XYZxyz(4.7555, 2.3549, 20.2785)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23137F #6F7F13
analogous
#13397F #23137F #59137F
triadic
#23137F #7F2313 #137F23
tetradic
#23137F #7F1339 #6F7F13 #137F59
square
#23137F #7F1339 #6F7F13 #137F59
split-complementary
#23137F #7F5913 #397F13
monochromatic
#07041B #140B4A #23137F #321BB4 #472DE0

Accessibility & contrast

On white

14.28
#23137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23137F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23137F#FFFFFF#000000##FFFFFF
##23137F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23137f;
/* rgb */ color: rgb(35, 19, 127);
/* oklch */ color: oklch(30.5% 0.166 276.9);
Tailwind
colors: {
  custom: {
    50: '#6e55a5',
    500: '#23137f',
    950: '#000000',
  },
}
SCSS
$custom: #23137f;
$custom-light: #6e55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23137f",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 248.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30501,
    "c": 0.16556,
    "h": 276.9
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#23137F
secondary
#A2B439
accent
#F137D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23137F

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

Preview Lab → · Contrast checker → · Palette generator →

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