#120D36#120D36

#120D36 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.077 H 282.3°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#120D36
RGBrgb(18, 13, 54)
HSLhsl(247, 61%, 13%)
HSVhsv(247, 76%, 21%)
CMYKcmyk(66.7%, 75.9%, 0%, 78.8%)
CIE-LABlab(6.17, 16.13, -25.77)
CIE-LCHlch(6.17, 30.40, 302.04°)
OKLaboklab(19.68% 0.0163 -0.0749)
OKLCHoklch(19.68% 0.077 282.3)
XYZxyz(1.0590, 0.6827, 3.5653)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D36 #31360D
analogous
#0D1C36 #120D36 #260D36
triadic
#120D36 #36120D #0D3612
tetradic
#120D36 #360D1C #31360D #0D3626
square
#120D36 #360D1C #31360D #0D3626
split-complementary
#120D36 #36260D #1C360D
monochromatic
#080619 #080619 #120D36 #221967 #332599

Accessibility & contrast

On white

18.48
#120D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#120D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D36
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D36#FFFFFF#000000##FFFFFF
##120D361.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#02171F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120d36;
/* rgb */ color: rgb(18, 13, 54);
/* oklch */ color: oklch(19.7% 0.077 282.3);
Tailwind
colors: {
  custom: {
    50: '#544c6d',
    500: '#120d36',
    950: '#000000',
  },
}
SCSS
$custom: #120d36;
$custom-light: #544c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#120d36",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 247.317,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.1968,
    "c": 0.07662,
    "h": 282.3
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#120D36
secondary
#69712D
accent
#E443D1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #120D36

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

Preview Lab → · Contrast checker → · Palette generator →

#120D36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva