#120F3E#120F3E

#120F3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.086 H 278.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#120F3E
RGBrgb(18, 15, 62)
HSLhsl(244, 61%, 15%)
HSVhsv(244, 76%, 24%)
CMYKcmyk(71%, 75.8%, 0%, 75.7%)
CIE-LABlab(7.39, 18.44, -29.57)
CIE-LCHlch(7.39, 34.85, 301.95°)
OKLaboklab(20.93% 0.0131 -0.0853)
OKLCHoklch(20.93% 0.086 278.7)
XYZxyz(1.2895, 0.8179, 4.6464)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F3E #3B3E0F
analogous
#0F233E #120F3E #2A0F3E
triadic
#120F3E #3E120F #0F3E12
tetradic
#120F3E #3E0F23 #3B3E0F #0F3E2A
square
#120F3E #3E0F23 #3B3E0F #0F3E2A
split-complementary
#120F3E #3E2A0F #233E0F
monochromatic
#070619 #070619 #120F3E #201B6F #2F27A1

Accessibility & contrast

On white

18.05
#120F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F3E
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F3E#FFFFFF#000000##FFFFFF
##120F3E1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120f3e;
/* rgb */ color: rgb(18, 15, 62);
/* oklch */ color: oklch(20.9% 0.086 278.7);
Tailwind
colors: {
  custom: {
    50: '#564d74',
    500: '#120f3e',
    950: '#000000',
  },
}
SCSS
$custom: #120f3e;
$custom-light: #564d74;
$custom-dark: #000000;
JSON
{
  "hex": "#120f3e",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 243.83,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20925,
    "c": 0.08629,
    "h": 278.7
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#120F3E
secondary
#747830
accent
#E444DA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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