#120F35#120F35

#120F35 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.072 H 281.3°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#120F35
RGBrgb(18, 15, 53)
HSLhsl(245, 56%, 13%)
HSVhsv(245, 72%, 21%)
CMYKcmyk(66%, 71.7%, 0%, 79.2%)
CIE-LABlab(6.57, 14.53, -24.39)
CIE-LCHlch(6.57, 28.39, 300.78°)
OKLaboklab(19.99% 0.014 -0.0705)
OKLCHoklch(19.99% 0.072 281.3)
XYZxyz(1.0627, 0.7272, 3.4518)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120F35 #32350F
analogous
#0F1F35 #120F35 #250F35
triadic
#120F35 #35120F #0F3512
tetradic
#120F35 #350F1F #32350F #0F3525
square
#120F35 #350F1F #32350F #0F3525
split-complementary
#120F35 #35250F #1F350F
monochromatic
#080718 #080718 #120F35 #221C65 #322A94

Accessibility & contrast

On white

18.33
#120F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#120F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120F35
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120F35#FFFFFF#000000##FFFFFF
##120F351.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#031820
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120f35;
/* rgb */ color: rgb(18, 15, 53);
/* oklch */ color: oklch(20.0% 0.072 281.3);
Tailwind
colors: {
  custom: {
    50: '#544d6c',
    500: '#120f35',
    950: '#000000',
  },
}
SCSS
$custom: #120f35;
$custom-light: #544d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#120f35",
  "rgb": {
    "r": 18,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 244.737,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19991,
    "c": 0.07186,
    "h": 281.3
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#120F35
secondary
#6A6F31
accent
#DF49D3
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #120F35

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

Preview Lab → · Contrast checker → · Palette generator →

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