#120E43#120E43

#120E43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.095 H 277.9°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#120E43
RGBrgb(18, 14, 67)
HSLhsl(245, 65%, 16%)
HSVhsv(245, 79%, 26%)
CMYKcmyk(73.1%, 79.1%, 0%, 73.7%)
CIE-LABlab(7.66, 21.15, -32.68)
CIE-LCHlch(7.66, 38.93, 302.91°)
OKLaboklab(21.29% 0.0131 -0.0944)
OKLCHoklch(21.29% 0.095 277.9)
XYZxyz(1.4193, 0.8478, 5.3980)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E43 #3F430E
analogous
#0E2443 #120E43 #2C0E43
triadic
#120E43 #43120E #0E4312
tetradic
#120E43 #430E24 #3F430E #0E432C
square
#120E43 #430E24 #3F430E #0E432C
split-complementary
#120E43 #432C0E #24430E
monochromatic
#070519 #070519 #120E43 #201976 #2D23A8

Accessibility & contrast

On white

17.95
#120E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#120E43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E43
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E43#FFFFFF#000000##FFFFFF
##120E431.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #120e43;
/* rgb */ color: rgb(18, 14, 67);
/* oklch */ color: oklch(21.3% 0.095 277.9);
Tailwind
colors: {
  custom: {
    50: '#584d78',
    500: '#120e43',
    950: '#000000',
  },
}
SCSS
$custom: #120e43;
$custom-light: #584d78;
$custom-dark: #000000;
JSON
{
  "hex": "#120e43",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 67
  },
  "hsl": {
    "h": 244.528,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21293,
    "c": 0.09527,
    "h": 277.9
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#120E43
secondary
#787E2F
accent
#E83FDC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120E43

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

Preview Lab → · Contrast checker → · Palette generator →

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