#120F41#120F41

#120F41 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.091 H 278.0°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#120F41
RGBrgb(18, 15, 65)
HSLhsl(244, 63%, 16%)
HSVhsv(244, 77%, 25%)
CMYKcmyk(72.3%, 76.9%, 0%, 74.5%)
CIE-LABlab(7.69, 19.67, -31.20)
CIE-LCHlch(7.69, 36.89, 302.23°)
OKLaboklab(21.25% 0.0126 -0.09)
OKLCHoklch(21.25% 0.091 278)
XYZxyz(1.3741, 0.8518, 5.0920)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F41 #3E410F
analogous
#0F2541 #120F41 #2B0F41
triadic
#120F41 #41120F #0F4112
tetradic
#120F41 #410F25 #3E410F #0F412B
square
#120F41 #410F25 #3E410F #0F412B
split-complementary
#120F41 #412B0F #25410F
monochromatic
#070619 #070619 #120F41 #201A73 #2E26A4

Accessibility & contrast

On white

17.94
#120F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F41
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F41#FFFFFF#000000##FFFFFF
##120F411.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #120f41;
/* rgb */ color: rgb(18, 15, 65);
/* oklch */ color: oklch(21.3% 0.091 278.0);
Tailwind
colors: {
  custom: {
    50: '#574d76',
    500: '#120f41',
    950: '#000000',
  },
}
SCSS
$custom: #120f41;
$custom-light: #574d76;
$custom-dark: #000000;
JSON
{
  "hex": "#120f41",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 243.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21253,
    "c": 0.09091,
    "h": 278
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#120F41
secondary
#777B30
accent
#E642DC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120F41

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

Preview Lab → · Contrast checker → · Palette generator →

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