#120F33#120F33

#120F33 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.069 H 281.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#120F33
RGBrgb(18, 15, 51)
HSLhsl(245, 55%, 13%)
HSVhsv(245, 71%, 20%)
CMYKcmyk(64.7%, 70.6%, 0%, 80%)
CIE-LABlab(6.41, 13.62, -23.18)
CIE-LCHlch(6.41, 26.89, 300.44°)
OKLaboklab(19.79% 0.0141 -0.0671)
OKLCHoklch(19.79% 0.069 281.9)
XYZxyz(1.0176, 0.7092, 3.2146)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F33 #30330F
analogous
#0F1E33 #120F33 #240F33
triadic
#120F33 #33120F #0F3312
tetradic
#120F33 #330F1E #30330F #0F3324
square
#120F33 #330F1E #30330F #0F3324
split-complementary
#120F33 #33240F #1E330F
monochromatic
#080718 #080718 #120F33 #231D62 #332B92

Accessibility & contrast

On white

18.39
#120F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#120F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F33
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F33#FFFFFF#000000##FFFFFF
##120F331.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#04181F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120f33;
/* rgb */ color: rgb(18, 15, 51);
/* oklch */ color: oklch(19.8% 0.069 281.9);
Tailwind
colors: {
  custom: {
    50: '#534d6b',
    500: '#120f33',
    950: '#000000',
  },
}
SCSS
$custom: #120f33;
$custom-light: #534d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#120f33",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 245,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19795,
    "c": 0.06853,
    "h": 281.9
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#120F33
secondary
#686D31
accent
#DE4AD2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #120F33

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

Preview Lab → · Contrast checker → · Palette generator →

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