#12114A#12114A

#12114A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.102 H 275.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#12114A
RGBrgb(18, 17, 74)
HSLhsl(241, 63%, 18%)
HSVhsv(241, 77%, 29%)
CMYKcmyk(75.7%, 77%, 0%, 71%)
CIE-LABlab(9.19, 21.82, -35.08)
CIE-LCHlch(9.19, 41.31, 301.88°)
OKLaboklab(22.63% 0.0095 -0.1013)
OKLCHoklch(22.63% 0.102 275.3)
XYZxyz(1.6855, 1.0238, 6.5860)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12114A #494A11
analogous
#112C4A #12114A #2E114A
triadic
#12114A #4A1211 #114A12
tetradic
#12114A #4A112C #494A11 #114A2E
square
#12114A #4A112C #494A11 #114A2E
split-complementary
#12114A #4A2E11 #2C4A11
monochromatic
#060619 #060619 #12114A #1E1C7C #2A28AE

Accessibility & contrast

On white

17.43
#12114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#12114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12114A
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12114A#FFFFFF#000000##FFFFFF
##12114A1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #12114a;
/* rgb */ color: rgb(18, 17, 74);
/* oklch */ color: oklch(22.6% 0.102 275.3);
Tailwind
colors: {
  custom: {
    50: '#594f7d',
    500: '#12114a',
    950: '#000000',
  },
}
SCSS
$custom: #12114a;
$custom-light: #594f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12114a",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 241.053,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22631,
    "c": 0.10179,
    "h": 275.3
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#12114A
secondary
#828333
accent
#E642E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12114A

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

Preview Lab → · Contrast checker → · Palette generator →

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