#12195D#12195D

#12195D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.119 H 270.6°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#12195D
RGBrgb(18, 25, 93)
HSLhsl(234, 68%, 22%)
HSVhsv(234, 81%, 36%)
CMYKcmyk(80.6%, 73.1%, 0%, 63.5%)
CIE-LABlab(13.31, 23.76, -41.26)
CIE-LCHlch(13.31, 47.61, 299.94°)
OKLaboklab(26.24% 0.0014 -0.1194)
OKLCHoklch(26.24% 0.119 270.6)
XYZxyz(2.5722, 1.6139, 10.5298)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12195D #5D5612
analogous
#123F5D #12195D #31125D
triadic
#12195D #5D1219 #195D12
tetradic
#12195D #5D123F #5D5612 #125D31
square
#12195D #5D123F #5D5612 #125D31
split-complementary
#12195D #5D3112 #3F5D12
monochromatic
#05071A #080B2A #12195D #1C2790 #2635C4

Accessibility & contrast

On white

15.88
#12195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12195D
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12195D#FFFFFF#000000##FFFFFF
##12195D1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12195d;
/* rgb */ color: rgb(18, 25, 93);
/* oklch */ color: oklch(26.2% 0.119 270.6);
Tailwind
colors: {
  custom: {
    50: '#5e568c',
    500: '#12195d',
    950: '#000000',
  },
}
SCSS
$custom: #12195d;
$custom-light: #5e568c;
$custom-dark: #000000;
JSON
{
  "hex": "#12195d",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 234.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26239,
    "c": 0.1194,
    "h": 270.6
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#12195D
secondary
#958C35
accent
#DA3DEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #12195D

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

Preview Lab → · Contrast checker → · Palette generator →

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