#23197A#23197A

#23197A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.154 H 276.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#23197A
RGBrgb(35, 25, 122)
HSLhsl(246, 66%, 29%)
HSVhsv(246, 80%, 48%)
CMYKcmyk(71.3%, 79.5%, 0%, 52.2%)
CIE-LABlab(17.72, 36.22, -52.91)
CIE-LCHlch(17.72, 64.12, 304.39°)
OKLaboklab(30.66% 0.0184 -0.1529)
OKLCHoklch(30.66% 0.154 276.8)
XYZxyz(4.5525, 2.4573, 18.6430)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23197A #707A19
analogous
#19407A #23197A #54197A
triadic
#23197A #7A2319 #197A23
tetradic
#23197A #7A1940 #707A19 #197A54
square
#23197A #7A1940 #707A19 #197A54
split-complementary
#23197A #7A5419 #407A19
monochromatic
#070519 #140F47 #23197A #3223AD #4837D6

Accessibility & contrast

On white

14.08
#23197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#23197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23197A
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23197A#FFFFFF#000000##FFFFFF
##23197A1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23197a;
/* rgb */ color: rgb(35, 25, 122);
/* oklch */ color: oklch(30.7% 0.154 276.8);
Tailwind
colors: {
  custom: {
    50: '#6c58a2',
    500: '#23197a',
    950: '#000000',
  },
}
SCSS
$custom: #23197a;
$custom-light: #6c58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23197a",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 246.186,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30658,
    "c": 0.15401,
    "h": 276.8
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#23197A
secondary
#A3AF40
accent
#E93FD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23197A

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

Preview Lab → · Contrast checker → · Palette generator →

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