#120F60#120F60

#120F60 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.135 H 272.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#120F60
RGBrgb(18, 15, 96)
HSLhsl(242, 73%, 22%)
HSVhsv(242, 84%, 38%)
CMYKcmyk(81.3%, 84.4%, 0%, 62.4%)
CIE-LABlab(11.38, 31.31, -46.46)
CIE-LCHlch(11.38, 56.03, 303.97°)
OKLaboklab(24.96% 0.0058 -0.1345)
OKLCHoklch(24.96% 0.135 272.4)
XYZxyz(2.5309, 1.3145, 11.1844)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F60 #5D600F
analogous
#0F3560 #120F60 #3B0F60
triadic
#120F60 #60120F #0F6012
tetradic
#120F60 #600F35 #5D600F #0F603B
square
#120F60 #600F35 #5D600F #0F603B
split-complementary
#120F60 #603B0F #35600F
monochromatic
#05041A #08072B #120F60 #1C1795 #2620CA

Accessibility & contrast

On white

16.63
#120F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#120F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F60
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F60#FFFFFF#000000##FFFFFF
##120F601.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002262
Deuteranopia (green-blind)
#001A5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #120f60;
/* rgb */ color: rgb(18, 15, 96);
/* oklch */ color: oklch(25.0% 0.135 272.4);
Tailwind
colors: {
  custom: {
    50: '#604f8e',
    500: '#120f60',
    950: '#000000',
  },
}
SCSS
$custom: #120f60;
$custom-light: #604f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#120f60",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 242.222,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.24963,
    "c": 0.13459,
    "h": 272.4
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#120F60
secondary
#959932
accent
#F038E9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #120F60

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

Preview Lab → · Contrast checker → · Palette generator →

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