#120F3F#120F3F

#120F3F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.088 H 278.5°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#120F3F
RGBrgb(18, 15, 63)
HSLhsl(244, 62%, 15%)
HSVhsv(244, 76%, 25%)
CMYKcmyk(71.4%, 76.2%, 0%, 75.3%)
CIE-LABlab(7.49, 18.86, -30.12)
CIE-LCHlch(7.49, 35.53, 302.05°)
OKLaboklab(21.03% 0.0129 -0.0869)
OKLCHoklch(21.03% 0.088 278.5)
XYZxyz(1.3172, 0.8290, 4.7923)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F3F #3C3F0F
analogous
#0F243F #120F3F #2A0F3F
triadic
#120F3F #3F120F #0F3F12
tetradic
#120F3F #3F0F24 #3C3F0F #0F3F2A
square
#120F3F #3F0F24 #3C3F0F #0F3F2A
split-complementary
#120F3F #3F2A0F #243F0F
monochromatic
#070619 #070619 #120F3F #201B70 #2E27A2

Accessibility & contrast

On white

18.01
#120F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120F3F
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F3F#FFFFFF#000000##FFFFFF
##120F3F1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001840
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120f3f;
/* rgb */ color: rgb(18, 15, 63);
/* oklch */ color: oklch(21.0% 0.088 278.5);
Tailwind
colors: {
  custom: {
    50: '#574d75',
    500: '#120f3f',
    950: '#000000',
  },
}
SCSS
$custom: #120f3f;
$custom-light: #574d75;
$custom-dark: #000000;
JSON
{
  "hex": "#120f3f",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 243.75,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21034,
    "c": 0.08784,
    "h": 278.5
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#120F3F
secondary
#757930
accent
#E543DB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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