#120A3F#120A3F

#120A3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.094 H 280.6°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#120A3F
RGBrgb(18, 10, 63)
HSLhsl(249, 73%, 14%)
HSVhsv(249, 84%, 25%)
CMYKcmyk(71.4%, 84.1%, 0%, 75.3%)
CIE-LABlab(6.36, 21.78, -31.95)
CIE-LCHlch(6.36, 38.67, 304.28°)
OKLaboklab(20.15% 0.0174 -0.0928)
OKLCHoklch(20.15% 0.094 280.6)
XYZxyz(1.2549, 0.7045, 4.7715)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A3F #373F0A
analogous
#0A1D3F #120A3F #2D0A3F
triadic
#120A3F #3F120A #0A3F12
tetradic
#120A3F #3F0A1D #373F0A #0A3F2D
square
#120A3F #3F0A1D #373F0A #0A3F2D
split-complementary
#120A3F #3F2D0A #1D3F0A
monochromatic
#08041A #08041A #120A3F #211274 #301BA9

Accessibility & contrast

On white

18.40
#120A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120A3F
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A3F#FFFFFF#000000##FFFFFF
##120A3F1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120a3f;
/* rgb */ color: rgb(18, 10, 63);
/* oklch */ color: oklch(20.1% 0.094 280.6);
Tailwind
colors: {
  custom: {
    50: '#574a75',
    500: '#120a3f',
    950: '#000000',
  },
}
SCSS
$custom: #120a3f;
$custom-light: #574a75;
$custom-dark: #000000;
JSON
{
  "hex": "#120a3f",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 249.057,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20147,
    "c": 0.09443,
    "h": 280.6
  },
  "luminance": 0.00705
}

Semantic roles & 50–950 ramp

primary
#120A3F
secondary
#707C29
accent
#EF38D4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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