#23149F#23149F

#23149F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.202 H 272.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#23149F
RGBrgb(35, 20, 159)
HSLhsl(246, 78%, 35%)
HSVhsv(246, 87%, 62%)
CMYKcmyk(78%, 87.4%, 0%, 37.6%)
CIE-LABlab(21.43, 50.21, -69.89)
CIE-LCHlch(21.43, 86.06, 305.69°)
OKLaboklab(34.53% 0.0097 -0.2021)
OKLCHoklch(34.53% 0.202 272.8)
XYZxyz(7.1992, 3.3601, 33.0633)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23149F #909F14
analogous
#144A9F #23149F #69149F
triadic
#23149F #9F2314 #149F23
tetradic
#23149F #9F144A #909F14 #149F69
square
#23149F #9F144A #909F14 #149F69
split-complementary
#23149F #9F6914 #4A9F14
monochromatic
#0B0632 #170D69 #23149F #2F1BD5 #5746E8

Accessibility & contrast

On white

12.56
#23149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#23149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23149F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23149F#FFFFFF#000000##FFFFFF
##23149F1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23149f;
/* rgb */ color: rgb(35, 20, 159);
/* oklch */ color: oklch(34.5% 0.202 272.8);
Tailwind
colors: {
  custom: {
    50: '#7658bd',
    500: '#23149f',
    950: '#000000',
  },
}
SCSS
$custom: #23149f;
$custom-light: #7658bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23149f",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 246.475,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34528,
    "c": 0.20231,
    "h": 272.8
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#23149F
secondary
#BAC846
accent
#F434DF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23149F

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

Preview Lab → · Contrast checker → · Palette generator →

#23149F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva