#121E45#121E45

#121E45 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.075 H 267.8°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#121E45
RGBrgb(18, 30, 69)
HSLhsl(226, 59%, 17%)
HSVhsv(226, 74%, 27%)
CMYKcmyk(73.9%, 56.5%, 0%, 72.9%)
CIE-LABlab(12.52, 10.02, -26.17)
CIE-LCHlch(12.52, 28.02, 290.96°)
OKLaboklab(24.95% -0.0029 -0.075)
OKLCHoklch(24.95% 0.075 267.8)
XYZxyz(1.7875, 1.4866, 5.8218)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E45 #453912
analogous
#123845 #121E45 #1F1245
triadic
#121E45 #45121E #1E4512
tetradic
#121E45 #451238 #453912 #12451F
square
#121E45 #451238 #453912 #12451F
split-complementary
#121E45 #451F12 #384512
monochromatic
#060B18 #060B18 #121E45 #1F3376 #2B48A6

Accessibility & contrast

On white

16.19
#121E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E45
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E45#FFFFFF#000000##FFFFFF
##121E451.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082346
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121e45;
/* rgb */ color: rgb(18, 30, 69);
/* oklch */ color: oklch(25.0% 0.075 267.8);
Tailwind
colors: {
  custom: {
    50: '#575979',
    500: '#121e45',
    950: '#000000',
  },
}
SCSS
$custom: #121e45;
$custom-light: #575979;
$custom-dark: #000000;
JSON
{
  "hex": "#121e45",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 225.882,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24954,
    "c": 0.07511,
    "h": 267.8
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#121E45
secondary
#7E6D35
accent
#BD46E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121E45

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

Preview Lab → · Contrast checker → · Palette generator →

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