#120E33#120E33

#120E33 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.070 H 282.7°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#120E33
RGBrgb(18, 14, 51)
HSLhsl(246, 57%, 13%)
HSVhsv(246, 73%, 20%)
CMYKcmyk(64.7%, 72.5%, 0%, 80%)
CIE-LABlab(6.16, 14.20, -23.58)
CIE-LCHlch(6.16, 27.53, 301.05°)
OKLaboklab(19.58% 0.0154 -0.0685)
OKLCHoklch(19.58% 0.07 282.7)
XYZxyz(1.0038, 0.6816, 3.2100)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E33 #2F330E
analogous
#0E1D33 #120E33 #240E33
triadic
#120E33 #33120E #0E3312
tetradic
#120E33 #330E1D #2F330E #0E3324
square
#120E33 #330E1D #2F330E #0E3324
split-complementary
#120E33 #33240E #1D330E
monochromatic
#080718 #080718 #120E33 #231B63 #342893

Accessibility & contrast

On white

18.48
#120E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120E33
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E33#FFFFFF#000000##FFFFFF
##120E331.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#04171E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120e33;
/* rgb */ color: rgb(18, 14, 51);
/* oklch */ color: oklch(19.6% 0.070 282.7);
Tailwind
colors: {
  custom: {
    50: '#534d6b',
    500: '#120e33',
    950: '#000000',
  },
}
SCSS
$custom: #120e33;
$custom-light: #534d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#120e33",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 51
  },
  "hsl": {
    "h": 246.486,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.1958,
    "c": 0.07017,
    "h": 282.7
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#120E33
secondary
#676E2F
accent
#E048D0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #120E33

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

Preview Lab → · Contrast checker → · Palette generator →

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