#12094A#12094A

#12094A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.111 H 277.6°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#12094A
RGBrgb(18, 9, 74)
HSLhsl(248, 78%, 16%)
HSVhsv(248, 88%, 29%)
CMYKcmyk(75.7%, 87.8%, 0%, 71%)
CIE-LABlab(7.39, 26.86, -38.04)
CIE-LCHlch(7.39, 46.57, 305.22°)
OKLaboklab(21.35% 0.0147 -0.11)
OKLCHoklch(21.35% 0.111 277.6)
XYZxyz(1.5828, 0.8182, 6.5518)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12094A #414A09
analogous
#09214A #12094A #33094A
triadic
#12094A #4A1209 #094A12
tetradic
#12094A #4A0921 #414A09 #094A33
square
#12094A #4A0921 #414A09 #094A33
split-complementary
#12094A #4A3309 #214A09
monochromatic
#07031B #07031B #12094A #1F1081 #2D16B7

Accessibility & contrast

On white

18.05
#12094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#12094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12094A
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12094A#FFFFFF#000000##FFFFFF
##12094A1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001449
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #12094a;
/* rgb */ color: rgb(18, 9, 74);
/* oklch */ color: oklch(21.3% 0.111 277.6);
Tailwind
colors: {
  custom: {
    50: '#5a4a7d',
    500: '#12094a',
    950: '#000000',
  },
}
SCSS
$custom: #12094a;
$custom-light: #5a4a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12094a",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 248.308,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21348,
    "c": 0.11098,
    "h": 277.6
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#12094A
secondary
#7A8727
accent
#F533DA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #12094A

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

Preview Lab → · Contrast checker → · Palette generator →

#12094A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva