#121E46#121E46

#121E46 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.077 H 267.9°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#121E46
RGBrgb(18, 30, 70)
HSLhsl(226, 59%, 17%)
HSVhsv(226, 74%, 27%)
CMYKcmyk(74.3%, 57.1%, 0%, 72.5%)
CIE-LABlab(12.60, 10.45, -26.74)
CIE-LCHlch(12.60, 28.70, 291.35°)
OKLaboklab(25.04% -0.0028 -0.0767)
OKLCHoklch(25.04% 0.077 267.9)
XYZxyz(1.8188, 1.4992, 5.9867)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E46 #463A12
analogous
#123846 #121E46 #201246
triadic
#121E46 #46121E #1E4612
tetradic
#121E46 #461238 #463A12 #124620
square
#121E46 #461238 #463A12 #124620
split-complementary
#121E46 #462012 #384612
monochromatic
#060A18 #060A18 #121E46 #1F3377 #2B48A7

Accessibility & contrast

On white

16.16
#121E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E46
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E46#FFFFFF#000000##FFFFFF
##121E461.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121e46;
/* rgb */ color: rgb(18, 30, 70);
/* oklch */ color: oklch(25.0% 0.077 267.9);
Tailwind
colors: {
  custom: {
    50: '#57597a',
    500: '#121e46',
    950: '#000000',
  },
}
SCSS
$custom: #121e46;
$custom-light: #57597a;
$custom-dark: #000000;
JSON
{
  "hex": "#121e46",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 226.154,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2504,
    "c": 0.07677,
    "h": 267.9
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#121E46
secondary
#7F6E35
accent
#BE46E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121E46

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

Preview Lab → · Contrast checker → · Palette generator →

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