#23147E#23147E

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

Color values

HEX#23147E
RGBrgb(35, 20, 126)
HSLhsl(248, 73%, 29%)
HSVhsv(248, 84%, 49%)
CMYKcmyk(72.2%, 84.1%, 0%, 50.6%)
CIE-LABlab(17.29, 40.13, -56.18)
CIE-LCHlch(17.29, 69.05, 305.54°)
OKLaboklab(30.49% 0.0197 -0.1624)
OKLCHoklch(30.49% 0.164 276.9)
XYZxyz(4.7080, 2.3636, 19.9427)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23147E #6F7E14
analogous
#143A7E #23147E #58147E
triadic
#23147E #7E2314 #147E23
tetradic
#23147E #7E143A #6F7E14 #147E58
square
#23147E #7E143A #6F7E14 #147E58
split-complementary
#23147E #7E5814 #3A7E14
monochromatic
#07041A #140C49 #23147E #321CB3 #472EDE

Accessibility & contrast

On white

14.26
#23147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23147E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23147E#FFFFFF#000000##FFFFFF
##23147E1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23147e;
/* rgb */ color: rgb(35, 20, 126);
/* oklch */ color: oklch(30.5% 0.164 276.9);
Tailwind
colors: {
  custom: {
    50: '#6e55a5',
    500: '#23147e',
    950: '#000000',
  },
}
SCSS
$custom: #23147e;
$custom-light: #6e55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23147e",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 248.491,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30493,
    "c": 0.16355,
    "h": 276.9
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#23147E
secondary
#A2B33A
accent
#EF38D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23147E

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

Preview Lab → · Contrast checker → · Palette generator →

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