#121D46#121D46

#121D46 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.078 H 268.8°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#121D46
RGBrgb(18, 29, 70)
HSLhsl(227, 59%, 17%)
HSVhsv(227, 74%, 27%)
CMYKcmyk(74.3%, 58.6%, 0%, 72.5%)
CIE-LABlab(12.28, 11.22, -27.25)
CIE-LCHlch(12.28, 29.47, 292.37°)
OKLaboklab(24.8% -0.0017 -0.0783)
OKLCHoklch(24.8% 0.078 268.8)
XYZxyz(1.7939, 1.4494, 5.9784)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D46 #463B12
analogous
#123746 #121D46 #211246
triadic
#121D46 #46121D #1D4612
tetradic
#121D46 #461237 #463B12 #124621
square
#121D46 #461237 #463B12 #124621
split-complementary
#121D46 #462112 #374612
monochromatic
#060A18 #060A18 #121D46 #1F3177 #2B45A7

Accessibility & contrast

On white

16.28
#121D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D46
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D46#FFFFFF#000000##FFFFFF
##121D461.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121d46;
/* rgb */ color: rgb(18, 29, 70);
/* oklch */ color: oklch(24.8% 0.078 268.8);
Tailwind
colors: {
  custom: {
    50: '#57587a',
    500: '#121d46',
    950: '#000000',
  },
}
SCSS
$custom: #121d46;
$custom-light: #57587a;
$custom-dark: #000000;
JSON
{
  "hex": "#121d46",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 227.308,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24797,
    "c": 0.07828,
    "h": 268.8
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#121D46
secondary
#7F6F35
accent
#C146E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121D46

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

Preview Lab → · Contrast checker → · Palette generator →

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