#12195A#12195A

#12195A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.115 H 270.8°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#12195A
RGBrgb(18, 25, 90)
HSLhsl(234, 67%, 21%)
HSVhsv(234, 80%, 35%)
CMYKcmyk(80%, 72.2%, 0%, 64.7%)
CIE-LABlab(13.00, 22.56, -39.77)
CIE-LCHlch(13.00, 45.72, 299.56°)
OKLaboklab(25.91% 0.0017 -0.115)
OKLCHoklch(25.91% 0.115 270.8)
XYZxyz(2.4419, 1.5618, 9.8436)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12195A #5A5312
analogous
#123D5A #12195A #2F125A
triadic
#12195A #5A1219 #195A12
tetradic
#12195A #5A123D #5A5312 #125A2F
square
#12195A #5A123D #5A5312 #125A2F
split-complementary
#12195A #5A2F12 #3D5A12
monochromatic
#05071A #080B27 #12195A #1C278D #2635C0

Accessibility & contrast

On white

16.00
#12195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#12195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12195A
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12195A#FFFFFF#000000##FFFFFF
##12195A1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12195a;
/* rgb */ color: rgb(18, 25, 90);
/* oklch */ color: oklch(25.9% 0.115 270.8);
Tailwind
colors: {
  custom: {
    50: '#5d5589',
    500: '#12195a',
    950: '#000000',
  },
}
SCSS
$custom: #12195a;
$custom-light: #5d5589;
$custom-dark: #000000;
JSON
{
  "hex": "#12195a",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 234.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2591,
    "c": 0.11505,
    "h": 270.8
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#12195A
secondary
#938935
accent
#D93EEA
background
#F5F5F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #12195A

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

Preview Lab → · Contrast checker → · Palette generator →

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