#23147D#23147D

#23147D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.162 H 277.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#23147D
RGBrgb(35, 20, 125)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 49%)
CMYKcmyk(72%, 84%, 0%, 51%)
CIE-LABlab(17.17, 39.82, -55.75)
CIE-LCHlch(17.17, 68.51, 305.54°)
OKLaboklab(30.37% 0.02 -0.1611)
OKLCHoklch(30.37% 0.162 277.1)
XYZxyz(4.6438, 2.3379, 19.6046)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23147D #6E7D14
analogous
#14397D #23147D #57147D
triadic
#23147D #7D2314 #147D23
tetradic
#23147D #7D1439 #6E7D14 #147D57
square
#23147D #7D1439 #6E7D14 #147D57
split-complementary
#23147D #7D5714 #397D14
monochromatic
#07041A #140C48 #23147D #321CB2 #472EDE

Accessibility & contrast

On white

14.31
#23147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#23147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23147D
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23147D#FFFFFF#000000##FFFFFF
##23147D1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23147d;
/* rgb */ color: rgb(35, 20, 125);
/* oklch */ color: oklch(30.4% 0.162 277.1);
Tailwind
colors: {
  custom: {
    50: '#6d55a4',
    500: '#23147d',
    950: '#000000',
  },
}
SCSS
$custom: #23147d;
$custom-light: #6d55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23147d",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 248.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.16232,
    "h": 277.1
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#23147D
secondary
#A1B23A
accent
#EF39D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23147D

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

Preview Lab → · Contrast checker → · Palette generator →

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