#120D5D#120D5D

#120D5D is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.3% C 0.133 H 273.1°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#120D5D
RGBrgb(18, 13, 93)
HSLhsl(244, 75%, 21%)
HSVhsv(244, 86%, 36%)
CMYKcmyk(80.6%, 86%, 0%, 63.5%)
CIE-LABlab(10.61, 31.37, -45.73)
CIE-LCHlch(10.61, 55.46, 304.44°)
OKLaboklab(24.31% 0.0073 -0.1323)
OKLCHoklch(24.31% 0.133 273.1)
XYZxyz(2.3685, 1.2065, 10.4619)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D5D #585D0D
analogous
#0D305D #120D5D #3A0D5D
triadic
#120D5D #5D120D #0D5D12
tetradic
#120D5D #5D0D30 #585D0D #0D5D3A
square
#120D5D #5D0D30 #585D0D #0D5D3A
split-complementary
#120D5D #5D3A0D #305D0D
monochromatic
#05041B #080527 #120D5D #1C1593 #271CC8

Accessibility & contrast

On white

16.92
#120D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120D5D
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D5D#FFFFFF#000000##FFFFFF
##120D5D1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205F
Deuteranopia (green-blind)
#00195C
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #120d5d;
/* rgb */ color: rgb(18, 13, 93);
/* oklch */ color: oklch(24.3% 0.133 273.1);
Tailwind
colors: {
  custom: {
    50: '#5f4e8c',
    500: '#120d5d',
    950: '#000000',
  },
}
SCSS
$custom: #120d5d;
$custom-light: #5f4e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#120d5d",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 243.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24313,
    "c": 0.13251,
    "h": 273.1
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#120D5D
secondary
#91972F
accent
#F236E6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010C
muted
#79777D

Preview Lab

Preview with #120D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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