#121E47#121E47

#121E47 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.078 H 268.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#121E47
RGBrgb(18, 30, 71)
HSLhsl(226, 60%, 17%)
HSVhsv(226, 75%, 28%)
CMYKcmyk(74.6%, 57.7%, 0%, 72.2%)
CIE-LABlab(12.68, 10.88, -27.30)
CIE-LCHlch(12.68, 29.39, 291.73°)
OKLaboklab(25.13% -0.0027 -0.0784)
OKLCHoklch(25.13% 0.078 268.1)
XYZxyz(1.8507, 1.5119, 6.1543)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E47 #473B12
analogous
#123947 #121E47 #201247
triadic
#121E47 #47121E #1E4712
tetradic
#121E47 #471239 #473B12 #124720
square
#121E47 #471239 #473B12 #124720
split-complementary
#121E47 #472012 #394712
monochromatic
#060A18 #060A18 #121E47 #1E3378 #2B47A9

Accessibility & contrast

On white

16.12
#121E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E47
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E47#FFFFFF#000000##FFFFFF
##121E471.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062348
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121e47;
/* rgb */ color: rgb(18, 30, 71);
/* oklch */ color: oklch(25.1% 0.078 268.1);
Tailwind
colors: {
  custom: {
    50: '#57597a',
    500: '#121e47',
    950: '#000000',
  },
}
SCSS
$custom: #121e47;
$custom-light: #57597a;
$custom-dark: #000000;
JSON
{
  "hex": "#121e47",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 226.415,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25127,
    "c": 0.07843,
    "h": 268.1
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#121E47
secondary
#806F35
accent
#BF45E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121E47

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

Preview Lab → · Contrast checker → · Palette generator →

#121E47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva