#120D60#120D60

#120D60 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.136 H 272.7°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#120D60
RGBrgb(18, 13, 96)
HSLhsl(244, 76%, 21%)
HSVhsv(244, 86%, 38%)
CMYKcmyk(81.3%, 86.5%, 0%, 62.4%)
CIE-LABlab(11.00, 32.41, -47.09)
CIE-LCHlch(11.00, 57.17, 304.53°)
OKLaboklab(24.7% 0.0065 -0.1362)
OKLCHoklch(24.7% 0.136 272.7)
XYZxyz(2.5040, 1.2607, 11.1754)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D60 #5B600D
analogous
#0D3260 #120D60 #3C0D60
triadic
#120D60 #60120D #0D6012
tetradic
#120D60 #600D32 #5B600D #0D603C
square
#120D60 #600D32 #5B600D #0D603C
split-complementary
#120D60 #603C0D #32600D
monochromatic
#05041B #08062A #120D60 #1C1496 #261CCC

Accessibility & contrast

On white

16.77
#120D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#120D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D60
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D60#FFFFFF#000000##FFFFFF
##120D601.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002162
Deuteranopia (green-blind)
#00195F
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #120d60;
/* rgb */ color: rgb(18, 13, 96);
/* oklch */ color: oklch(24.7% 0.136 272.7);
Tailwind
colors: {
  custom: {
    50: '#604e8e',
    500: '#120d60',
    950: '#000000',
  },
}
SCSS
$custom: #120d60;
$custom-light: #604e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#120d60",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 243.614,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24699,
    "c": 0.1364,
    "h": 272.7
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#120D60
secondary
#939A2F
accent
#F335E7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #120D60

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

Preview Lab → · Contrast checker → · Palette generator →

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