#120F50#120F50

#120F50 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.0% C 0.113 H 274.9°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#120F50
RGBrgb(18, 15, 80)
HSLhsl(243, 68%, 19%)
HSVhsv(243, 81%, 31%)
CMYKcmyk(77.5%, 81.3%, 0%, 68.6%)
CIE-LABlab(9.40, 25.46, -38.89)
CIE-LCHlch(9.40, 46.49, 303.21°)
OKLaboklab(22.99% 0.0096 -0.1125)
OKLCHoklch(22.99% 0.113 274.9)
XYZxyz(1.8678, 1.0493, 7.6920)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F50 #4D500F
analogous
#0F2C50 #120F50 #320F50
triadic
#120F50 #50120F #0F5012
tetradic
#120F50 #500F2C #4D500F #0F5032
square
#120F50 #500F2C #4D500F #0F5032
split-complementary
#120F50 #50320F #2C500F
monochromatic
#06051A #06051C #120F50 #1E1984 #2922B7

Accessibility & contrast

On white

17.36
#120F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F50
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F50#FFFFFF#000000##FFFFFF
##120F501.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00174F
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #120f50;
/* rgb */ color: rgb(18, 15, 80);
/* oklch */ color: oklch(23.0% 0.113 274.9);
Tailwind
colors: {
  custom: {
    50: '#5b4e82',
    500: '#120f50',
    950: '#000000',
  },
}
SCSS
$custom: #120f50;
$custom-light: #5b4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#120f50",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 242.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22986,
    "c": 0.11287,
    "h": 274.9
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#120F50
secondary
#868A31
accent
#EB3DE3
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #120F50

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

Preview Lab → · Contrast checker → · Palette generator →

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