#120E53#120E53

#120E53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.118 H 274.6°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#120E53
RGBrgb(18, 14, 83)
HSLhsl(243, 71%, 19%)
HSVhsv(243, 83%, 33%)
CMYKcmyk(78.3%, 83.1%, 0%, 67.5%)
CIE-LABlab(9.54, 27.21, -40.72)
CIE-LCHlch(9.54, 48.97, 303.75°)
OKLaboklab(23.2% 0.0095 -0.1178)
OKLCHoklch(23.2% 0.118 274.6)
XYZxyz(1.9673, 1.0670, 8.2842)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E53 #4F530E
analogous
#0E2D53 #120E53 #350E53
triadic
#120E53 #53120E #0E5312
tetradic
#120E53 #530E2D #4F530E #0E5335
square
#120E53 #530E2D #4F530E #0E5335
split-complementary
#120E53 #53350E #2D530E
monochromatic
#06041A #07051F #120E53 #1D1787 #2920BC

Accessibility & contrast

On white

17.31
#120E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#120E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E53
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E53#FFFFFF#000000##FFFFFF
##120E531.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001752
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #120e53;
/* rgb */ color: rgb(18, 14, 83);
/* oklch */ color: oklch(23.2% 0.118 274.6);
Tailwind
colors: {
  custom: {
    50: '#5c4e84',
    500: '#120e53',
    950: '#000000',
  },
}
SCSS
$custom: #120e53;
$custom-light: #5c4e84;
$custom-dark: #000000;
JSON
{
  "hex": "#120e53",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 243.478,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23195,
    "c": 0.11814,
    "h": 274.6
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#120E53
secondary
#888D2F
accent
#EE3AE3
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #120E53

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

Preview Lab → · Contrast checker → · Palette generator →

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