#120E50#120E50

#120E50 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.114 H 275.1°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#120E50
RGBrgb(18, 14, 80)
HSLhsl(244, 70%, 18%)
HSVhsv(244, 83%, 31%)
CMYKcmyk(77.5%, 82.5%, 0%, 68.6%)
CIE-LABlab(9.17, 26.10, -39.26)
CIE-LCHlch(9.17, 47.15, 303.61°)
OKLaboklab(22.83% 0.0102 -0.1135)
OKLCHoklch(22.83% 0.114 275.1)
XYZxyz(1.8540, 1.0217, 7.6874)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E50 #4C500E
analogous
#0E2B50 #120E50 #330E50
triadic
#120E50 #50120E #0E5012
tetradic
#120E50 #500E2B #4C500E #0E5033
square
#120E50 #500E2B #4C500E #0E5033
split-complementary
#120E50 #50330E #2B500E
monochromatic
#06051A #06051C #120E50 #1E1784 #2920B8

Accessibility & contrast

On white

17.44
#120E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#120E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E50
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E50#FFFFFF#000000##FFFFFF
##120E501.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00174F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #120e50;
/* rgb */ color: rgb(18, 14, 80);
/* oklch */ color: oklch(22.8% 0.114 275.1);
Tailwind
colors: {
  custom: {
    50: '#5c4d82',
    500: '#120e50',
    950: '#000000',
  },
}
SCSS
$custom: #120e50;
$custom-light: #5c4d82;
$custom-dark: #000000;
JSON
{
  "hex": "#120e50",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 243.636,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.22827,
    "c": 0.11399,
    "h": 275.1
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#120E50
secondary
#858B2F
accent
#ED3BE2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #120E50

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

Preview Lab → · Contrast checker → · Palette generator →

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