#23148D#23148D

#23148D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.182 H 274.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#23148D
RGBrgb(35, 20, 141)
HSLhsl(247, 75%, 32%)
HSVhsv(247, 86%, 55%)
CMYKcmyk(75.2%, 85.8%, 0%, 44.7%)
CIE-LABlab(19.14, 44.81, -62.58)
CIE-LCHlch(19.14, 76.96, 305.60°)
OKLaboklab(32.31% 0.0151 -0.1809)
OKLCHoklch(32.31% 0.182 274.8)
XYZxyz(5.7494, 2.7801, 25.4278)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23148D #7E8D14
analogous
#14428D #23148D #60148D
triadic
#23148D #8D2314 #148D23
tetradic
#23148D #8D1442 #7E8D14 #148D60
square
#23148D #8D1442 #7E8D14 #148D60
split-complementary
#23148D #8D6014 #428D14
monochromatic
#080522 #160C57 #23148D #301CC3 #4E39E3

Accessibility & contrast

On white

13.49
#23148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23148D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23148D#FFFFFF#000000##FFFFFF
##23148D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23148d;
/* rgb */ color: rgb(35, 20, 141);
/* oklch */ color: oklch(32.3% 0.182 274.8);
Tailwind
colors: {
  custom: {
    50: '#7157b0',
    500: '#23148d',
    950: '#000000',
  },
}
SCSS
$custom: #23148d;
$custom-light: #7157b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23148d",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 247.438,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.18153,
    "h": 274.8
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#23148D
secondary
#B0C13C
accent
#F236DA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #23148D

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

Preview Lab → · Contrast checker → · Palette generator →

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