#120A45#120A45

#120A45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.103 H 278.7°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#120A45
RGBrgb(18, 10, 69)
HSLhsl(248, 75%, 15%)
HSVhsv(248, 86%, 27%)
CMYKcmyk(73.9%, 85.5%, 0%, 72.9%)
CIE-LABlab(7.00, 24.34, -35.17)
CIE-LCHlch(7.00, 42.77, 304.68°)
OKLaboklab(20.87% 0.0157 -0.1018)
OKLCHoklch(20.87% 0.103 278.7)
XYZxyz(1.4318, 0.7752, 5.7033)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A45 #3D450A
analogous
#0A1F45 #120A45 #2F0A45
triadic
#120A45 #45120A #0A4512
tetradic
#120A45 #450A1F #3D450A #0A452F
square
#120A45 #450A1F #3D450A #0A452F
split-complementary
#120A45 #452F0A #1F450A
monochromatic
#07041B #07041B #120A45 #20127A #2E19B0

Accessibility & contrast

On white

18.18
#120A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#120A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120A45
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A45#FFFFFF#000000##FFFFFF
##120A451.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001344
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120a45;
/* rgb */ color: rgb(18, 10, 69);
/* oklch */ color: oklch(20.9% 0.103 278.7);
Tailwind
colors: {
  custom: {
    50: '#594a79',
    500: '#120a45',
    950: '#000000',
  },
}
SCSS
$custom: #120a45;
$custom-light: #594a79;
$custom-dark: #000000;
JSON
{
  "hex": "#120a45",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 248.136,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20871,
    "c": 0.103,
    "h": 278.7
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#120A45
secondary
#768229
accent
#F136D8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120A45

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

Preview Lab → · Contrast checker → · Palette generator →

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