#23148E#23148E

#23148E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.183 H 274.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#23148E
RGBrgb(35, 20, 142)
HSLhsl(247, 75%, 32%)
HSVhsv(247, 86%, 56%)
CMYKcmyk(75.4%, 85.9%, 0%, 44.3%)
CIE-LABlab(19.27, 45.11, -62.99)
CIE-LCHlch(19.27, 77.48, 305.61°)
OKLaboklab(32.43% 0.0148 -0.1821)
OKLCHoklch(32.43% 0.183 274.6)
XYZxyz(5.8242, 2.8100, 25.8214)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23148E #7F8E14
analogous
#14428E #23148E #60148E
triadic
#23148E #8E2314 #148E23
tetradic
#23148E #8E1442 #7F8E14 #148E60
square
#23148E #8E1442 #7F8E14 #148E60
split-complementary
#23148E #8E6014 #428E14
monochromatic
#090523 #160C58 #23148E #301CC4 #4E39E3

Accessibility & contrast

On white

13.44
#23148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#23148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23148E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23148E#FFFFFF#000000##FFFFFF
##23148E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23148e;
/* rgb */ color: rgb(35, 20, 142);
/* oklch */ color: oklch(32.4% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#7257b0',
    500: '#23148e',
    950: '#000000',
  },
}
SCSS
$custom: #23148e;
$custom-light: #7257b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23148e",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 247.377,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.1827,
    "h": 274.6
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#23148E
secondary
#B1C23C
accent
#F236DB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #23148E

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

Preview Lab → · Contrast checker → · Palette generator →

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