#120D50#120D50

#120D50 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.115 H 275.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#120D50
RGBrgb(18, 13, 80)
HSLhsl(244, 72%, 18%)
HSVhsv(244, 84%, 31%)
CMYKcmyk(77.5%, 83.7%, 0%, 68.6%)
CIE-LABlab(8.95, 26.72, -39.62)
CIE-LCHlch(8.95, 47.79, 303.99°)
OKLaboklab(22.67% 0.0108 -0.1146)
OKLCHoklch(22.67% 0.115 275.4)
XYZxyz(1.8409, 0.9955, 7.6830)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D50 #4B500D
analogous
#0D2950 #120D50 #330D50
triadic
#120D50 #50120D #0D5012
tetradic
#120D50 #500D29 #4B500D #0D5033
square
#120D50 #500D29 #4B500D #0D5033
split-complementary
#120D50 #50330D #29500D
monochromatic
#06041A #06041B #120D50 #1E1685 #2A1EB9

Accessibility & contrast

On white

17.51
#120D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#120D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D50
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D50#FFFFFF#000000##FFFFFF
##120D501.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C52
Deuteranopia (green-blind)
#00164F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #120d50;
/* rgb */ color: rgb(18, 13, 80);
/* oklch */ color: oklch(22.7% 0.115 275.4);
Tailwind
colors: {
  custom: {
    50: '#5c4d82',
    500: '#120d50',
    950: '#000000',
  },
}
SCSS
$custom: #120d50;
$custom-light: #5c4d82;
$custom-dark: #000000;
JSON
{
  "hex": "#120d50",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 244.478,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22674,
    "c": 0.11508,
    "h": 275.4
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#120D50
secondary
#848B2E
accent
#EF39E1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #120D50

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

Preview Lab → · Contrast checker → · Palette generator →

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