#23148A#23148A

#23148A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.178 H 275.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#23148A
RGBrgb(35, 20, 138)
HSLhsl(248, 75%, 31%)
HSVhsv(248, 86%, 54%)
CMYKcmyk(74.6%, 85.5%, 0%, 45.9%)
CIE-LABlab(18.77, 43.88, -61.32)
CIE-LCHlch(18.77, 75.40, 305.59°)
OKLaboklab(31.94% 0.016 -0.1773)
OKLCHoklch(31.94% 0.178 275.1)
XYZxyz(5.5292, 2.6921, 24.2681)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23148A #7B8A14
analogous
#14408A #23148A #5E148A
triadic
#23148A #8A2314 #148A23
tetradic
#23148A #8A1440 #7B8A14 #148A5E
square
#23148A #8A1440 #7B8A14 #148A5E
split-complementary
#23148A #8A5E14 #408A14
monochromatic
#08051F #150C55 #23148A #311CBF #4C36E2

Accessibility & contrast

On white

13.65
#23148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#23148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23148A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23148A#FFFFFF#000000##FFFFFF
##23148A1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23148a;
/* rgb */ color: rgb(35, 20, 138);
/* oklch */ color: oklch(31.9% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#7156ad',
    500: '#23148a',
    950: '#000000',
  },
}
SCSS
$custom: #23148a;
$custom-light: #7156ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23148a",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 247.627,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31939,
    "c": 0.17798,
    "h": 275.1
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#23148A
secondary
#AEBE3C
accent
#F136DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #23148A

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

Preview Lab → · Contrast checker → · Palette generator →

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