#23196D#23196D

#23196D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.137 H 279.0°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#23196D
RGBrgb(35, 25, 109)
HSLhsl(247, 63%, 26%)
HSVhsv(247, 77%, 43%)
CMYKcmyk(67.9%, 77.1%, 0%, 57.3%)
CIE-LABlab(16.29, 31.80, -46.89)
CIE-LCHlch(16.29, 56.66, 304.15°)
OKLaboklab(29.22% 0.0216 -0.1353)
OKLCHoklch(29.22% 0.137 279)
XYZxyz(3.8002, 2.1564, 14.6810)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23196D #636D19
analogous
#19396D #23196D #4D196D
triadic
#23196D #6D2319 #196D23
tetradic
#23196D #6D1939 #636D19 #196D4D
square
#23196D #6D1939 #636D19 #196D4D
split-complementary
#23196D #6D4D19 #396D19
monochromatic
#080619 #130E3B #23196D #33249F #4431D0

Accessibility & contrast

On white

14.67
#23196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#23196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23196D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23196D#FFFFFF#000000##FFFFFF
##23196D1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #23196d;
/* rgb */ color: rgb(35, 25, 109);
/* oklch */ color: oklch(29.2% 0.137 279.0);
Tailwind
colors: {
  custom: {
    50: '#695798',
    500: '#23196d',
    950: '#000000',
  },
}
SCSS
$custom: #23196d;
$custom-light: #695798;
$custom-dark: #000000;
JSON
{
  "hex": "#23196d",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 247.143,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29215,
    "c": 0.13705,
    "h": 279
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#23196D
secondary
#97A23F
accent
#E642D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23196D

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

Preview Lab → · Contrast checker → · Palette generator →

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