#23187D#23187D

#23187D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.159 H 276.5°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#23187D
RGBrgb(35, 24, 125)
HSLhsl(247, 68%, 29%)
HSVhsv(247, 81%, 49%)
CMYKcmyk(72%, 80.8%, 0%, 51%)
CIE-LABlab(17.88, 37.76, -54.58)
CIE-LCHlch(17.88, 66.37, 304.68°)
OKLaboklab(30.87% 0.0181 -0.1577)
OKLCHoklch(30.87% 0.159 276.5)
XYZxyz(4.7202, 2.4908, 19.6301)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23187D #727D18
analogous
#18407D #23187D #56187D
triadic
#23187D #7D2318 #187D23
tetradic
#23187D #7D1840 #727D18 #187D56
square
#23187D #7D1840 #727D18 #187D56
split-complementary
#23187D #7D5618 #407D18
monochromatic
#07051A #150E4A #23187D #3122B0 #4837D9

Accessibility & contrast

On white

14.02
#23187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#23187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23187D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23187D#FFFFFF#000000##FFFFFF
##23187D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23187d;
/* rgb */ color: rgb(35, 24, 125);
/* oklch */ color: oklch(30.9% 0.159 276.5);
Tailwind
colors: {
  custom: {
    50: '#6d58a4',
    500: '#23187d',
    950: '#000000',
  },
}
SCSS
$custom: #23187d;
$custom-light: #6d58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23187d",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 246.535,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30867,
    "c": 0.15877,
    "h": 276.5
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#23187D
secondary
#A5B23F
accent
#EB3DD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23187D

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

Preview Lab → · Contrast checker → · Palette generator →

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