#120D41#120D41

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

Color values

HEX#120D41
RGBrgb(18, 13, 65)
HSLhsl(246, 67%, 15%)
HSVhsv(246, 80%, 25%)
CMYKcmyk(72.3%, 80%, 0%, 74.5%)
CIE-LABlab(7.21, 20.97, -32.00)
CIE-LCHlch(7.21, 38.26, 303.24°)
OKLaboklab(20.89% 0.0144 -0.0925)
OKLCHoklch(20.89% 0.094 278.8)
XYZxyz(1.3472, 0.7980, 5.0830)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D41 #3C410D
analogous
#0D2241 #120D41 #2C0D41
triadic
#120D41 #41120D #0D4112
tetradic
#120D41 #410D22 #3C410D #0D412C
square
#120D41 #410D22 #3C410D #0D412C
split-complementary
#120D41 #412C0D #22410D
monochromatic
#07051A #07051A #120D41 #201774 #2E21A7

Accessibility & contrast

On white

18.11
#120D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120D41
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D41#FFFFFF#000000##FFFFFF
##120D411.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #120d41;
/* rgb */ color: rgb(18, 13, 65);
/* oklch */ color: oklch(20.9% 0.094 278.8);
Tailwind
colors: {
  custom: {
    50: '#574c76',
    500: '#120d41',
    950: '#000000',
  },
}
SCSS
$custom: #120d41;
$custom-light: #574c76;
$custom-dark: #000000;
JSON
{
  "hex": "#120d41",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 245.769,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20887,
    "c": 0.09358,
    "h": 278.8
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#120D41
secondary
#757D2D
accent
#EA3ED9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #120D41

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

Preview Lab → · Contrast checker → · Palette generator →

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