#120D55#120D55

#120D55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.3% C 0.122 H 274.4°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#120D55
RGBrgb(18, 13, 85)
HSLhsl(244, 73%, 19%)
HSVhsv(244, 85%, 33%)
CMYKcmyk(78.8%, 84.7%, 0%, 66.7%)
CIE-LABlab(9.58, 28.53, -42.02)
CIE-LCHlch(9.58, 50.79, 304.18°)
OKLaboklab(23.3% 0.0095 -0.1215)
OKLCHoklch(23.3% 0.122 274.4)
XYZxyz(2.0325, 1.0721, 8.6924)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D55 #50550D
analogous
#0D2C55 #120D55 #360D55
triadic
#120D55 #55120D #0D5512
tetradic
#120D55 #550D2C #50550D #0D5536
square
#120D55 #550D2C #50550D #0D5536
split-complementary
#120D55 #55360D #2C550D
monochromatic
#06041B #070520 #120D55 #1D158A #281DBF

Accessibility & contrast

On white

17.29
#120D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#120D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D55
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D55#FFFFFF#000000##FFFFFF
##120D551.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001754
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #120d55;
/* rgb */ color: rgb(18, 13, 85);
/* oklch */ color: oklch(23.3% 0.122 274.4);
Tailwind
colors: {
  custom: {
    50: '#5d4d86',
    500: '#120d55',
    950: '#000000',
  },
}
SCSS
$custom: #120d55;
$custom-light: #5d4d86;
$custom-dark: #000000;
JSON
{
  "hex": "#120d55",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 244.167,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23297,
    "c": 0.1219,
    "h": 274.4
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#120D55
secondary
#89902E
accent
#F038E3
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #120D55

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

Preview Lab → · Contrast checker → · Palette generator →

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