#12194E#12194E

#12194E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.097 H 271.5°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#12194E
RGBrgb(18, 25, 78)
HSLhsl(233, 63%, 19%)
HSVhsv(233, 77%, 31%)
CMYKcmyk(76.9%, 67.9%, 0%, 69.4%)
CIE-LABlab(11.78, 17.64, -33.60)
CIE-LCHlch(11.78, 37.95, 297.70°)
OKLaboklab(24.65% 0.0025 -0.097)
OKLCHoklch(24.65% 0.097 271.5)
XYZxyz(1.9718, 1.3737, 7.3675)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12194E #4E4712
analogous
#12374E #12194E #29124E
triadic
#12194E #4E1219 #194E12
tetradic
#12194E #4E1237 #4E4712 #124E29
square
#12194E #4E1237 #4E4712 #124E29
split-complementary
#12194E #4E2912 #374E12
monochromatic
#060819 #07091C #12194E #1D2980 #2939B1

Accessibility & contrast

On white

16.47
#12194E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#12194E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12194E
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12194E#FFFFFF#000000##FFFFFF
##12194E1.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #12194e;
/* rgb */ color: rgb(18, 25, 78);
/* oklch */ color: oklch(24.6% 0.097 271.5);
Tailwind
colors: {
  custom: {
    50: '#5a5580',
    500: '#12194e',
    950: '#000000',
  },
}
SCSS
$custom: #12194e;
$custom-light: #5a5580;
$custom-dark: #000000;
JSON
{
  "hex": "#12194e",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 78
  },
  "hsl": {
    "h": 233,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24648,
    "c": 0.097,
    "h": 271.5
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#12194E
secondary
#877D35
accent
#D342E6
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #12194E

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

Preview Lab → · Contrast checker → · Palette generator →

#12194E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva