#120F55#120F55

#120F55 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.120 H 274.0°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#120F55
RGBrgb(18, 15, 85)
HSLhsl(243, 70%, 20%)
HSVhsv(243, 82%, 33%)
CMYKcmyk(78.8%, 82.4%, 0%, 66.7%)
CIE-LABlab(10.00, 27.33, -41.32)
CIE-LCHlch(10.00, 49.54, 303.48°)
OKLaboklab(23.59% 0.0084 -0.1195)
OKLCHoklch(23.59% 0.12 274)
XYZxyz(2.0594, 1.1259, 8.7014)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F55 #52550F
analogous
#0F2F55 #120F55 #350F55
triadic
#120F55 #55120F #0F5512
tetradic
#120F55 #550F2F #52550F #0F5535
square
#120F55 #550F2F #52550F #0F5535
split-complementary
#120F55 #55350F #2F550F
monochromatic
#06051A #070621 #120F55 #1D1889 #2821BD

Accessibility & contrast

On white

17.14
#120F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#120F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F55
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F55#FFFFFF#000000##FFFFFF
##120F551.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001854
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #120f55;
/* rgb */ color: rgb(18, 15, 85);
/* oklch */ color: oklch(23.6% 0.120 274.0);
Tailwind
colors: {
  custom: {
    50: '#5d4e86',
    500: '#120f55',
    950: '#000000',
  },
}
SCSS
$custom: #120f55;
$custom-light: #5d4e86;
$custom-dark: #000000;
JSON
{
  "hex": "#120f55",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 242.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23592,
    "c": 0.11983,
    "h": 274
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#120F55
secondary
#8B8F31
accent
#ED3BE5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #120F55

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

Preview Lab → · Contrast checker → · Palette generator →

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