#120E57#120E57

#120E57 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.124 H 273.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#120E57
RGBrgb(18, 14, 87)
HSLhsl(243, 72%, 20%)
HSVhsv(243, 84%, 34%)
CMYKcmyk(79.3%, 83.9%, 0%, 65.9%)
CIE-LABlab(10.04, 28.66, -42.62)
CIE-LCHlch(10.04, 51.36, 303.92°)
OKLaboklab(23.69% 0.0084 -0.1233)
OKLCHoklch(23.69% 0.124 273.9)
XYZxyz(2.1262, 1.1306, 9.1211)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E57 #53570E
analogous
#0E2E57 #120E57 #370E57
triadic
#120E57 #57120E #0E5712
tetradic
#120E57 #570E2E #53570E #0E5737
square
#120E57 #570E2E #53570E #0E5737
split-complementary
#120E57 #57370E #2E570E
monochromatic
#05041A #070622 #120E57 #1D168C #281FC0

Accessibility & contrast

On white

17.13
#120E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E57
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E57#FFFFFF#000000##FFFFFF
##120E571.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F59
Deuteranopia (green-blind)
#001856
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #120e57;
/* rgb */ color: rgb(18, 14, 87);
/* oklch */ color: oklch(23.7% 0.124 273.9);
Tailwind
colors: {
  custom: {
    50: '#5e4e87',
    500: '#120e57',
    950: '#000000',
  },
}
SCSS
$custom: #120e57;
$custom-light: #5e4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#120e57",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 243.288,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23691,
    "c": 0.12359,
    "h": 273.9
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#120E57
secondary
#8C9130
accent
#EF39E5
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #120E57

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

Preview Lab → · Contrast checker → · Palette generator →

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