#120E41#120E41

#120E41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.092 H 278.4°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#120E41
RGBrgb(18, 14, 65)
HSLhsl(245, 65%, 15%)
HSVhsv(245, 78%, 25%)
CMYKcmyk(72.3%, 78.5%, 0%, 74.5%)
CIE-LABlab(7.44, 20.34, -31.61)
CIE-LCHlch(7.44, 37.59, 302.76°)
OKLaboklab(21.07% 0.0135 -0.0913)
OKLCHoklch(21.07% 0.092 278.4)
XYZxyz(1.3603, 0.8242, 5.0874)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E41 #3D410E
analogous
#0E2341 #120E41 #2B0E41
triadic
#120E41 #41120E #0E4112
tetradic
#120E41 #410E23 #3D410E #0E412B
square
#120E41 #410E23 #3D410E #0E412B
split-complementary
#120E41 #412B0E #23410E
monochromatic
#070519 #070519 #120E41 #201973 #2E24A6

Accessibility & contrast

On white

18.03
#120E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#120E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E41
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E41#FFFFFF#000000##FFFFFF
##120E411.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120e41;
/* rgb */ color: rgb(18, 14, 65);
/* oklch */ color: oklch(21.1% 0.092 278.4);
Tailwind
colors: {
  custom: {
    50: '#574d76',
    500: '#120e41',
    950: '#000000',
  },
}
SCSS
$custom: #120e41;
$custom-light: #574d76;
$custom-dark: #000000;
JSON
{
  "hex": "#120e41",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 244.706,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21067,
    "c": 0.09227,
    "h": 278.4
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#120E41
secondary
#767C2F
accent
#E840DA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #120E41

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

Preview Lab → · Contrast checker → · Palette generator →

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