#23196F#23196F

#23196F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.140 H 278.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#23196F
RGBrgb(35, 25, 111)
HSLhsl(247, 63%, 27%)
HSVhsv(247, 77%, 44%)
CMYKcmyk(68.5%, 77.5%, 0%, 56.5%)
CIE-LABlab(16.50, 32.49, -47.83)
CIE-LCHlch(16.50, 57.82, 304.18°)
OKLaboklab(29.43% 0.0211 -0.1381)
OKLCHoklch(29.43% 0.14 278.7)
XYZxyz(3.9091, 2.2000, 15.2545)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23196F #656F19
analogous
#193A6F #23196F #4E196F
triadic
#23196F #6F2319 #196F23
tetradic
#23196F #6F193A #656F19 #196F4E
square
#23196F #6F193A #656F19 #196F4E
split-complementary
#23196F #6F4E19 #3A6F19
monochromatic
#080619 #130E3D #23196F #3324A1 #4432D1

Accessibility & contrast

On white

14.58
#23196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23196F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23196F#FFFFFF#000000##FFFFFF
##23196F1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23196f;
/* rgb */ color: rgb(35, 25, 111);
/* oklch */ color: oklch(29.4% 0.140 278.7);
Tailwind
colors: {
  custom: {
    50: '#6a5799',
    500: '#23196f',
    950: '#000000',
  },
}
SCSS
$custom: #23196f;
$custom-light: #6a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#23196f",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 246.977,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29433,
    "c": 0.13971,
    "h": 278.7
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#23196F
secondary
#99A43F
accent
#E642D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23196F

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

Preview Lab → · Contrast checker → · Palette generator →

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