#121E4E#121E4E

#121E4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.090 H 268.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#121E4E
RGBrgb(18, 30, 78)
HSLhsl(228, 63%, 19%)
HSVhsv(228, 77%, 31%)
CMYKcmyk(76.9%, 61.5%, 0%, 69.4%)
CIE-LABlab(13.27, 13.87, -31.17)
CIE-LCHlch(13.27, 34.12, 293.98°)
OKLaboklab(25.76% -0.0021 -0.0898)
OKLCHoklch(25.76% 0.09 268.7)
XYZxyz(2.0884, 1.6070, 7.4064)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E4E #4E4212
analogous
#123C4E #121E4E #24124E
triadic
#121E4E #4E121E #1E4E12
tetradic
#121E4E #4E123C #4E4212 #124E24
square
#121E4E #4E123C #4E4212 #124E24
split-complementary
#121E4E #4E2412 #3C4E12
monochromatic
#060A19 #070B1C #121E4E #1D3180 #2944B1

Accessibility & contrast

On white

15.89
#121E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E4E
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E4E#FFFFFF#000000##FFFFFF
##121E4E1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121e4e;
/* rgb */ color: rgb(18, 30, 78);
/* oklch */ color: oklch(25.8% 0.090 268.7);
Tailwind
colors: {
  custom: {
    50: '#595980',
    500: '#121e4e',
    950: '#000000',
  },
}
SCSS
$custom: #121e4e;
$custom-light: #595980;
$custom-dark: #000000;
JSON
{
  "hex": "#121e4e",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 228,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25758,
    "c": 0.08979,
    "h": 268.7
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#121E4E
secondary
#877735
accent
#C542E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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