#120B3D#120B3D

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

Color values

HEX#120B3D
RGBrgb(18, 11, 61)
HSLhsl(248, 69%, 14%)
HSVhsv(248, 82%, 24%)
CMYKcmyk(70.5%, 82%, 0%, 76.1%)
CIE-LABlab(6.37, 20.38, -30.51)
CIE-LCHlch(6.37, 36.69, 303.74°)
OKLaboklab(20.08% 0.017 -0.0886)
OKLCHoklch(20.08% 0.09 280.9)
XYZxyz(1.2112, 0.7048, 4.4862)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B3D #363D0B
analogous
#0B1D3D #120B3D #2B0B3D
triadic
#120B3D #3D120B #0B3D12
tetradic
#120B3D #3D0B1D #363D0B #0B3D2B
square
#120B3D #3D0B1D #363D0B #0B3D2B
split-complementary
#120B3D #3D2B0B #1D3D0B
monochromatic
#08051A #08051A #120B3D #211471 #311EA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##120B3D#FFFFFF#000000##FFFFFF
##120B3D1.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)
#00163E
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120b3d;
/* rgb */ color: rgb(18, 11, 61);
/* oklch */ color: oklch(20.1% 0.090 280.9);
Tailwind
colors: {
  custom: {
    50: '#564b73',
    500: '#120b3d',
    950: '#000000',
  },
}
SCSS
$custom: #120b3d;
$custom-light: #564b73;
$custom-dark: #000000;
JSON
{
  "hex": "#120b3d",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 248.4,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20079,
    "c": 0.09024,
    "h": 280.9
  },
  "luminance": 0.00705
}

Semantic roles & 50–950 ramp

primary
#120B3D
secondary
#6F7A2A
accent
#EC3CD4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #120B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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