#23147C#23147C

#23147C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.161 H 277.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#23147C
RGBrgb(35, 20, 124)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 49%)
CMYKcmyk(71.8%, 83.9%, 0%, 51.4%)
CIE-LABlab(17.05, 39.50, -55.31)
CIE-LCHlch(17.05, 67.96, 305.53°)
OKLaboklab(30.26% 0.0203 -0.1598)
OKLCHoklch(30.26% 0.161 277.2)
XYZxyz(4.5802, 2.3125, 19.2698)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23147C #6D7C14
analogous
#14397C #23147C #57147C
triadic
#23147C #7C2314 #147C23
tetradic
#23147C #7C1439 #6D7C14 #147C57
square
#23147C #7C1439 #6D7C14 #147C57
split-complementary
#23147C #7C5714 #397C14
monochromatic
#07041A #140B47 #23147C #321DB1 #472DDD

Accessibility & contrast

On white

14.36
#23147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#23147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23147C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23147C#FFFFFF#000000##FFFFFF
##23147C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #23147c;
/* rgb */ color: rgb(35, 20, 124);
/* oklch */ color: oklch(30.3% 0.161 277.2);
Tailwind
colors: {
  custom: {
    50: '#6d55a3',
    500: '#23147c',
    950: '#000000',
  },
}
SCSS
$custom: #23147c;
$custom-light: #6d55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23147c",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 248.654,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30256,
    "c": 0.16109,
    "h": 277.2
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23147C

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

Preview Lab → · Contrast checker → · Palette generator →

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