#12195C#12195C

#12195C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.118 H 270.7°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#12195C
RGBrgb(18, 25, 92)
HSLhsl(234, 67%, 22%)
HSVhsv(234, 80%, 36%)
CMYKcmyk(80.4%, 72.8%, 0%, 63.9%)
CIE-LABlab(13.21, 23.36, -40.76)
CIE-LCHlch(13.21, 46.98, 299.81°)
OKLaboklab(26.13% 0.0014 -0.1179)
OKLCHoklch(26.13% 0.118 270.7)
XYZxyz(2.5282, 1.5963, 10.2980)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12195C #5C5512
analogous
#123E5C #12195C #30125C
triadic
#12195C #5C1219 #195C12
tetradic
#12195C #5C123E #5C5512 #125C30
square
#12195C #5C123E #5C5512 #125C30
split-complementary
#12195C #5C3012 #3E5C12
monochromatic
#05071A #080B29 #12195C #1C278F #2635C2

Accessibility & contrast

On white

15.92
#12195C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12195C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12195C#FFFFFF#000000##FFFFFF
##12195C1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12195c;
/* rgb */ color: rgb(18, 25, 92);
/* oklch */ color: oklch(26.1% 0.118 270.7);
Tailwind
colors: {
  custom: {
    50: '#5e558b',
    500: '#12195c',
    950: '#000000',
  },
}
SCSS
$custom: #12195c;
$custom-light: #5e558b;
$custom-dark: #000000;
JSON
{
  "hex": "#12195c",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 92
  },
  "hsl": {
    "h": 234.324,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26129,
    "c": 0.11796,
    "h": 270.7
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#12195C
secondary
#948B35
accent
#DA3EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #12195C

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

Preview Lab → · Contrast checker → · Palette generator →

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