#120A44#120A44

#120A44 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.102 H 279.0°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#120A44
RGBrgb(18, 10, 68)
HSLhsl(248, 74%, 15%)
HSVhsv(248, 85%, 27%)
CMYKcmyk(73.5%, 85.3%, 0%, 73.3%)
CIE-LABlab(6.89, 23.93, -34.65)
CIE-LCHlch(6.89, 42.11, 304.63°)
OKLaboklab(20.75% 0.016 -0.1003)
OKLCHoklch(20.75% 0.102 279)
XYZxyz(1.4010, 0.7629, 5.5411)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A44 #3C440A
analogous
#0A1F44 #120A44 #2F0A44
triadic
#120A44 #44120A #0A4412
tetradic
#120A44 #440A1F #3C440A #0A442F
square
#120A44 #440A1F #3C440A #0A442F
split-complementary
#120A44 #442F0A #1F440A
monochromatic
#07041B #07041B #120A44 #201279 #2E1AAF

Accessibility & contrast

On white

18.22
#120A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120A44
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A44#FFFFFF#000000##FFFFFF
##120A441.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120a44;
/* rgb */ color: rgb(18, 10, 68);
/* oklch */ color: oklch(20.7% 0.102 279.0);
Tailwind
colors: {
  custom: {
    50: '#594a79',
    500: '#120a44',
    950: '#000000',
  },
}
SCSS
$custom: #120a44;
$custom-light: #594a79;
$custom-dark: #000000;
JSON
{
  "hex": "#120a44",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 248.276,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20748,
    "c": 0.10158,
    "h": 279
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#120A44
secondary
#758129
accent
#F137D7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120A44

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

Preview Lab → · Contrast checker → · Palette generator →

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