#12194F#12194F

#12194F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.099 H 271.4°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#12194F
RGBrgb(18, 25, 79)
HSLhsl(233, 63%, 19%)
HSVhsv(233, 77%, 31%)
CMYKcmyk(77.2%, 68.4%, 0%, 69%)
CIE-LABlab(11.88, 18.05, -34.13)
CIE-LCHlch(11.88, 38.61, 297.88°)
OKLaboklab(24.75% 0.0025 -0.0985)
OKLCHoklch(24.75% 0.099 271.4)
XYZxyz(2.0079, 1.3882, 7.5577)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12194F #4F4812
analogous
#12384F #12194F #2A124F
triadic
#12194F #4F1219 #194F12
tetradic
#12194F #4F1238 #4F4812 #124F2A
square
#12194F #4F1238 #4F4812 #124F2A
split-complementary
#12194F #4F2A12 #384F12
monochromatic
#060819 #07091D #12194F #1D2981 #2939B3

Accessibility & contrast

On white

16.44
#12194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#12194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12194F
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12194F#FFFFFF#000000##FFFFFF
##12194F1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #12194f;
/* rgb */ color: rgb(18, 25, 79);
/* oklch */ color: oklch(24.8% 0.099 271.4);
Tailwind
colors: {
  custom: {
    50: '#5a5581',
    500: '#12194f',
    950: '#000000',
  },
}
SCSS
$custom: #12194f;
$custom-light: #5a5581;
$custom-dark: #000000;
JSON
{
  "hex": "#12194f",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 233.115,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2475,
    "c": 0.09855,
    "h": 271.4
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#12194F
secondary
#887E35
accent
#D342E6
background
#F5F4F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #12194F

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

Preview Lab → · Contrast checker → · Palette generator →

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