#120E36#120E36

#120E36 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.075 H 281.6°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#120E36
RGBrgb(18, 14, 54)
HSLhsl(246, 59%, 13%)
HSVhsv(246, 74%, 21%)
CMYKcmyk(66.7%, 74.1%, 0%, 78.8%)
CIE-LABlab(6.40, 15.57, -25.38)
CIE-LCHlch(6.40, 29.78, 301.52°)
OKLaboklab(19.88% 0.0151 -0.0735)
OKLCHoklch(19.88% 0.075 281.6)
XYZxyz(1.0721, 0.7089, 3.5697)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E36 #32360E
analogous
#0E1E36 #120E36 #260E36
triadic
#120E36 #36120E #0E3612
tetradic
#120E36 #360E1E #32360E #0E3626
square
#120E36 #360E1E #32360E #0E3626
split-complementary
#120E36 #36260E #1E360E
monochromatic
#080618 #080618 #120E36 #221B67 #322797

Accessibility & contrast

On white

18.39
#120E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E36
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E36#FFFFFF#000000##FFFFFF
##120E361.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#021820
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120e36;
/* rgb */ color: rgb(18, 14, 54);
/* oklch */ color: oklch(19.9% 0.075 281.6);
Tailwind
colors: {
  custom: {
    50: '#544c6d',
    500: '#120e36',
    950: '#000000',
  },
}
SCSS
$custom: #120e36;
$custom-light: #544c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#120e36",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 246,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19882,
    "c": 0.07508,
    "h": 281.6
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#120E36
secondary
#6A712F
accent
#E246D2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #120E36

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

Preview Lab → · Contrast checker → · Palette generator →

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