#23197B#23197B

#23197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.155 H 276.7°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#23197B
RGBrgb(35, 25, 123)
HSLhsl(246, 66%, 29%)
HSVhsv(246, 80%, 48%)
CMYKcmyk(71.5%, 79.7%, 0%, 51.8%)
CIE-LABlab(17.84, 36.55, -53.36)
CIE-LCHlch(17.84, 64.68, 304.41°)
OKLaboklab(30.77% 0.0181 -0.1542)
OKLCHoklch(30.77% 0.155 276.7)
XYZxyz(4.6148, 2.4822, 18.9710)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23197B #717B19
analogous
#19407B #23197B #54197B
triadic
#23197B #7B2319 #197B23
tetradic
#23197B #7B1940 #717B19 #197B54
square
#23197B #7B1940 #717B19 #197B54
split-complementary
#23197B #7B5419 #407B19
monochromatic
#070519 #150F48 #23197B #3123AE #4838D7

Accessibility & contrast

On white

14.03
#23197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#23197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23197B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23197B#FFFFFF#000000##FFFFFF
##23197B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23197b;
/* rgb */ color: rgb(35, 25, 123);
/* oklch */ color: oklch(30.8% 0.155 276.7);
Tailwind
colors: {
  custom: {
    50: '#6d58a2',
    500: '#23197b',
    950: '#000000',
  },
}
SCSS
$custom: #23197b;
$custom-light: #6d58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23197b",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 246.122,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30772,
    "c": 0.15529,
    "h": 276.7
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#23197B
secondary
#A4AF40
accent
#E93FD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23197B

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

Preview Lab → · Contrast checker → · Palette generator →

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