#23196E#23196E

#23196E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.138 H 278.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#23196E
RGBrgb(35, 25, 110)
HSLhsl(247, 63%, 26%)
HSVhsv(247, 77%, 43%)
CMYKcmyk(68.2%, 77.3%, 0%, 56.9%)
CIE-LABlab(16.40, 32.14, -47.36)
CIE-LCHlch(16.40, 57.24, 304.16°)
OKLaboklab(29.32% 0.0213 -0.1367)
OKLCHoklch(29.32% 0.138 278.9)
XYZxyz(3.8543, 2.1781, 14.9661)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23196E #646E19
analogous
#193A6E #23196E #4E196E
triadic
#23196E #6E2319 #196E23
tetradic
#23196E #6E193A #646E19 #196E4E
square
#23196E #6E193A #646E19 #196E4E
split-complementary
#23196E #6E4E19 #3A6E19
monochromatic
#080619 #130E3C #23196E #3324A0 #4431D0

Accessibility & contrast

On white

14.63
#23196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#23196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23196E
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23196E#FFFFFF#000000##FFFFFF
##23196E1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #23196e;
/* rgb */ color: rgb(35, 25, 110);
/* oklch */ color: oklch(29.3% 0.138 278.9);
Tailwind
colors: {
  custom: {
    50: '#695799',
    500: '#23196e',
    950: '#000000',
  },
}
SCSS
$custom: #23196e;
$custom-light: #695799;
$custom-dark: #000000;
JSON
{
  "hex": "#23196e",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 247.059,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29324,
    "c": 0.13838,
    "h": 278.9
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#23196E
secondary
#98A33F
accent
#E642D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23196E

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

Preview Lab → · Contrast checker → · Palette generator →

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