#23196B#23196B

#23196B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.134 H 279.4°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#23196B
RGBrgb(35, 25, 107)
HSLhsl(247, 62%, 26%)
HSVhsv(247, 77%, 42%)
CMYKcmyk(67.3%, 76.6%, 0%, 58%)
CIE-LABlab(16.07, 31.11, -45.93)
CIE-LCHlch(16.07, 55.48, 304.11°)
OKLaboklab(29% 0.022 -0.1326)
OKLCHoklch(29% 0.134 279.4)
XYZxyz(3.6938, 2.1138, 14.1204)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23196B #616B19
analogous
#19386B #23196B #4C196B
triadic
#23196B #6B2319 #196B23
tetradic
#23196B #6B1938 #616B19 #196B4C
square
#23196B #6B1938 #616B19 #196B4C
split-complementary
#23196B #6B4C19 #386B19
monochromatic
#080619 #130D39 #23196B #33259D #4330CE

Accessibility & contrast

On white

14.76
#23196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#23196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23196B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23196B#FFFFFF#000000##FFFFFF
##23196B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #23196b;
/* rgb */ color: rgb(35, 25, 107);
/* oklch */ color: oklch(29.0% 0.134 279.4);
Tailwind
colors: {
  custom: {
    50: '#695796',
    500: '#23196b',
    950: '#000000',
  },
}
SCSS
$custom: #23196b;
$custom-light: #695796;
$custom-dark: #000000;
JSON
{
  "hex": "#23196b",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 247.317,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28999,
    "c": 0.13438,
    "h": 279.4
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#23196B
secondary
#95A13F
accent
#E543D1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23196B

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

Preview Lab → · Contrast checker → · Palette generator →

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