#121D41#121D41

#121D41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.070 H 268.1°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#121D41
RGBrgb(18, 29, 65)
HSLhsl(226, 57%, 16%)
HSVhsv(226, 72%, 25%)
CMYKcmyk(72.3%, 55.4%, 0%, 74.5%)
CIE-LABlab(11.88, 9.09, -24.40)
CIE-LCHlch(11.88, 26.04, 290.42°)
OKLaboklab(24.37% -0.0023 -0.0699)
OKLCHoklch(24.37% 0.07 268.1)
XYZxyz(1.6426, 1.3888, 5.1815)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D41 #413612
analogous
#123541 #121D41 #1F1241
triadic
#121D41 #41121D #1D4112
tetradic
#121D41 #411235 #413612 #12411F
square
#121D41 #411235 #413612 #12411F
split-complementary
#121D41 #411F12 #354112
monochromatic
#070B18 #070B18 #121D41 #1F3271 #2D48A1

Accessibility & contrast

On white

16.43
#121D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D41
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D41#FFFFFF#000000##FFFFFF
##121D411.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2142
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121d41;
/* rgb */ color: rgb(18, 29, 65);
/* oklch */ color: oklch(24.4% 0.070 268.1);
Tailwind
colors: {
  custom: {
    50: '#565876',
    500: '#121d41',
    950: '#000000',
  },
}
SCSS
$custom: #121d41;
$custom-light: #565876;
$custom-dark: #000000;
JSON
{
  "hex": "#121d41",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 225.957,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24367,
    "c": 0.06991,
    "h": 268.1
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#121D41
secondary
#7A6A35
accent
#BC48E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121D41

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

Preview Lab → · Contrast checker → · Palette generator →

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