#120F59#120F59

#120F59 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.125 H 273.4°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#120F59
RGBrgb(18, 15, 89)
HSLhsl(242, 71%, 20%)
HSVhsv(242, 83%, 35%)
CMYKcmyk(79.8%, 83.1%, 0%, 65.1%)
CIE-LABlab(10.49, 28.79, -43.22)
CIE-LCHlch(10.49, 51.93, 303.67°)
OKLaboklab(24.09% 0.0075 -0.125)
OKLCHoklch(24.09% 0.125 273.4)
XYZxyz(2.2228, 1.1913, 9.5620)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F59 #56590F
analogous
#0F3159 #120F59 #370F59
triadic
#120F59 #59120F #0F5912
tetradic
#120F59 #590F31 #56590F #0F5937
square
#120F59 #590F31 #56590F #0F5937
split-complementary
#120F59 #59370F #31590F
monochromatic
#05041A #070625 #120F59 #1D188D #2721C2

Accessibility & contrast

On white

16.96
#120F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#120F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F59
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F59#FFFFFF#000000##FFFFFF
##120F591.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205B
Deuteranopia (green-blind)
#001958
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #120f59;
/* rgb */ color: rgb(18, 15, 89);
/* oklch */ color: oklch(24.1% 0.125 273.4);
Tailwind
colors: {
  custom: {
    50: '#5e4f89',
    500: '#120f59',
    950: '#000000',
  },
}
SCSS
$custom: #120f59;
$custom-light: #5e4f89;
$custom-dark: #000000;
JSON
{
  "hex": "#120f59",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 242.432,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24086,
    "c": 0.12527,
    "h": 273.4
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#120F59
secondary
#8F9331
accent
#EE3AE7
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #120F59

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

Preview Lab → · Contrast checker → · Palette generator →

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