#121933#121933

#121933 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.2% C 0.052 H 270.4°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#121933
RGBrgb(18, 25, 51)
HSLhsl(227, 48%, 14%)
HSVhsv(227, 65%, 20%)
CMYKcmyk(64.7%, 51%, 0%, 80%)
CIE-LABlab(9.50, 6.31, -18.22)
CIE-LCHlch(9.50, 19.28, 289.12°)
OKLaboklab(22.22% 0.0004 -0.0518)
OKLCHoklch(22.22% 0.052 270.4)
XYZxyz(1.1944, 1.0628, 3.2735)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121933 #332C12
analogous
#122933 #121933 #1B1233
triadic
#121933 #331219 #193312
tetradic
#121933 #331229 #332C12 #12331B
square
#121933 #331229 #332C12 #12331B
split-complementary
#121933 #331B12 #293312
monochromatic
#080B17 #080B17 #121933 #222F60 #32458D

Accessibility & contrast

On white

17.32
#121933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#121933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121933
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121933#FFFFFF#000000##FFFFFF
##1219331.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C34
Deuteranopia (green-blind)
#0A1932
Tritanopia (blue-blind)
#031F23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121933;
/* rgb */ color: rgb(18, 25, 51);
/* oklch */ color: oklch(22.2% 0.052 270.4);
Tailwind
colors: {
  custom: {
    50: '#53556b',
    500: '#121933',
    950: '#000000',
  },
}
SCSS
$custom: #121933;
$custom-light: #53556b;
$custom-dark: #000000;
JSON
{
  "hex": "#121933",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 51
  },
  "hsl": {
    "h": 227.273,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22215,
    "c": 0.05176,
    "h": 270.4
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#121933
secondary
#6B6035
accent
#BB50D7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121933

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

Preview Lab → · Contrast checker → · Palette generator →

#121933 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva