#120D5F#120D5F

#120D5F is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.6% C 0.135 H 272.9°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#120D5F
RGBrgb(18, 13, 95)
HSLhsl(244, 76%, 21%)
HSVhsv(244, 86%, 37%)
CMYKcmyk(81.1%, 86.3%, 0%, 62.7%)
CIE-LABlab(10.87, 32.06, -46.64)
CIE-LCHlch(10.87, 56.60, 304.50°)
OKLaboklab(24.57% 0.0067 -0.1349)
OKLCHoklch(24.57% 0.135 272.9)
XYZxyz(2.4582, 1.2424, 10.9345)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D5F #5A5F0D
analogous
#0D315F #120D5F #3B0D5F
triadic
#120D5F #5F120D #0D5F12
tetradic
#120D5F #5F0D31 #5A5F0D #0D5F3B
square
#120D5F #5F0D31 #5A5F0D #0D5F3B
split-complementary
#120D5F #5F3B0D #315F0D
monochromatic
#05041B #080629 #120D5F #1C1495 #261CCB

Accessibility & contrast

On white

16.82
#120D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#120D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D5F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D5F#FFFFFF#000000##FFFFFF
##120D5F1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002161
Deuteranopia (green-blind)
#00195E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #120d5f;
/* rgb */ color: rgb(18, 13, 95);
/* oklch */ color: oklch(24.6% 0.135 272.9);
Tailwind
colors: {
  custom: {
    50: '#604e8d',
    500: '#120d5f',
    950: '#000000',
  },
}
SCSS
$custom: #120d5f;
$custom-light: #604e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#120d5f",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 95
  },
  "hsl": {
    "h": 243.659,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.13511,
    "h": 272.9
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#120D5F
secondary
#93992F
accent
#F335E7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #120D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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