#12195B#12195B

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

Color values

HEX#12195B
RGBrgb(18, 25, 91)
HSLhsl(234, 67%, 21%)
HSVhsv(234, 80%, 36%)
CMYKcmyk(80.2%, 72.5%, 0%, 64.3%)
CIE-LABlab(13.10, 22.96, -40.27)
CIE-LCHlch(13.10, 46.35, 299.69°)
OKLaboklab(26.02% 0.0016 -0.1165)
OKLCHoklch(26.02% 0.117 270.8)
XYZxyz(2.4848, 1.5789, 10.0693)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12195B #5B5412
analogous
#123E5B #12195B #30125B
triadic
#12195B #5B1219 #195B12
tetradic
#12195B #5B123E #5B5412 #125B30
square
#12195B #5B123E #5B5412 #125B30
split-complementary
#12195B #5B3012 #3E5B12
monochromatic
#05071A #080B28 #12195B #1C278E #2635C1

Accessibility & contrast

On white

15.96
#12195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#12195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12195B
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12195B#FFFFFF#000000##FFFFFF
##12195B1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12195b;
/* rgb */ color: rgb(18, 25, 91);
/* oklch */ color: oklch(26.0% 0.117 270.8);
Tailwind
colors: {
  custom: {
    50: '#5d558a',
    500: '#12195b',
    950: '#000000',
  },
}
SCSS
$custom: #12195b;
$custom-light: #5d558a;
$custom-dark: #000000;
JSON
{
  "hex": "#12195b",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 234.247,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26019,
    "c": 0.11651,
    "h": 270.8
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#12195B
secondary
#938A35
accent
#D93EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #12195B

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

Preview Lab → · Contrast checker → · Palette generator →

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