#120D59#120D59

#120D59 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.8% C 0.127 H 273.8°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#120D59
RGBrgb(18, 13, 89)
HSLhsl(244, 75%, 20%)
HSVhsv(244, 85%, 35%)
CMYKcmyk(79.8%, 85.4%, 0%, 65.1%)
CIE-LABlab(10.09, 29.96, -43.89)
CIE-LCHlch(10.09, 53.14, 304.31°)
OKLaboklab(23.8% 0.0084 -0.127)
OKLCHoklch(23.8% 0.127 273.8)
XYZxyz(2.1959, 1.1375, 9.5531)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D59 #54590D
analogous
#0D2E59 #120D59 #380D59
triadic
#120D59 #59120D #0D5912
tetradic
#120D59 #590D2E #54590D #0D5938
square
#120D59 #590D2E #54590D #0D5938
split-complementary
#120D59 #59380D #2E590D
monochromatic
#05041B #070524 #120D59 #1D158E #281DC4

Accessibility & contrast

On white

17.11
#120D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#120D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D59
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D59#FFFFFF#000000##FFFFFF
##120D591.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5B
Deuteranopia (green-blind)
#001858
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #120d59;
/* rgb */ color: rgb(18, 13, 89);
/* oklch */ color: oklch(23.8% 0.127 273.8);
Tailwind
colors: {
  custom: {
    50: '#5e4d89',
    500: '#120d59',
    950: '#000000',
  },
}
SCSS
$custom: #120d59;
$custom-light: #5e4d89;
$custom-dark: #000000;
JSON
{
  "hex": "#120d59",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 243.947,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.23802,
    "c": 0.12725,
    "h": 273.8
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#120D59
secondary
#8D932E
accent
#F137E5
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010C
muted
#79777D

Preview Lab

Preview with #120D59

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

Preview Lab → · Contrast checker → · Palette generator →

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