#12196A#12196A

#12196A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.138 H 269.9°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#12196A
RGBrgb(18, 25, 106)
HSLhsl(235, 71%, 24%)
HSVhsv(235, 83%, 42%)
CMYKcmyk(83%, 76.4%, 0%, 58.4%)
CIE-LABlab(14.76, 28.84, -47.49)
CIE-LCHlch(14.76, 55.56, 301.27°)
OKLaboklab(27.71% -0.0004 -0.1376)
OKLCHoklch(27.71% 0.138 269.9)
XYZxyz(3.1977, 1.8641, 13.8242)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12196A #6A6312
analogous
#12456A #12196A #37126A
triadic
#12196A #6A1219 #196A12
tetradic
#12196A #6A1245 #6A6312 #126A37
square
#12196A #6A1245 #6A6312 #126A37
split-complementary
#12196A #6A3712 #456A12
monochromatic
#04061A #090D36 #12196A #1B259E #2432D3

Accessibility & contrast

On white

15.30
#12196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#12196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12196A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12196A#FFFFFF#000000##FFFFFF
##12196A1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #12196a;
/* rgb */ color: rgb(18, 25, 106);
/* oklch */ color: oklch(27.7% 0.138 269.9);
Tailwind
colors: {
  custom: {
    50: '#625696',
    500: '#12196a',
    950: '#000000',
  },
}
SCSS
$custom: #12196a;
$custom-light: #625696;
$custom-dark: #000000;
JSON
{
  "hex": "#12196a",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 235.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27711,
    "c": 0.13756,
    "h": 269.9
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#12196A
secondary
#A29936
accent
#DF3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #12196A

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

Preview Lab → · Contrast checker → · Palette generator →

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