#120A3C#120A3C

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

Color values

HEX#120A3C
RGBrgb(18, 10, 60)
HSLhsl(250, 71%, 14%)
HSVhsv(250, 83%, 24%)
CMYKcmyk(70%, 83.3%, 0%, 76.5%)
CIE-LABlab(6.07, 20.44, -30.28)
CIE-LCHlch(6.07, 36.53, 304.02°)
OKLaboklab(19.79% 0.0182 -0.0882)
OKLCHoklch(19.79% 0.09 281.6)
XYZxyz(1.1734, 0.6718, 4.3419)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A3C #343C0A
analogous
#0A1B3C #120A3C #2B0A3C
triadic
#120A3C #3C120A #0A3C12
tetradic
#120A3C #3C0A1B #343C0A #0A3C2B
square
#120A3C #3C0A1B #343C0A #0A3C2B
split-complementary
#120A3C #3C2B0A #1B3C0A
monochromatic
#08041A #08041A #120A3C #221370 #311BA5

Accessibility & contrast

On white

18.51
#120A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#120A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120A3C
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A3C#FFFFFF#000000##FFFFFF
##120A3C1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120a3c;
/* rgb */ color: rgb(18, 10, 60);
/* oklch */ color: oklch(19.8% 0.090 281.6);
Tailwind
colors: {
  custom: {
    50: '#564a72',
    500: '#120a3c',
    950: '#000000',
  },
}
SCSS
$custom: #120a3c;
$custom-light: #564a72;
$custom-dark: #000000;
JSON
{
  "hex": "#120a3c",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 249.6,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19794,
    "c": 0.09005,
    "h": 281.6
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#120A3C
secondary
#6C7928
accent
#EE3AD1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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