#121D50#121D50

#121D50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.094 H 269.4°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#121D50
RGBrgb(18, 29, 80)
HSLhsl(229, 63%, 19%)
HSVhsv(229, 78%, 31%)
CMYKcmyk(77.5%, 63.7%, 0%, 68.6%)
CIE-LABlab(13.15, 15.47, -32.74)
CIE-LCHlch(13.15, 36.22, 295.29°)
OKLaboklab(25.72% -0.0011 -0.0944)
OKLCHoklch(25.72% 0.094 269.4)
XYZxyz(2.1363, 1.5863, 7.7815)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D50 #504512
analogous
#123C50 #121D50 #261250
triadic
#121D50 #50121D #1D5012
tetradic
#121D50 #50123C #504512 #125026
square
#121D50 #50123C #504512 #125026
split-complementary
#121D50 #502612 #3C5012
monochromatic
#060919 #070B1E #121D50 #1D2F82 #2841B4

Accessibility & contrast

On white

15.94
#121D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D50
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D50#FFFFFF#000000##FFFFFF
##121D501.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121d50;
/* rgb */ color: rgb(18, 29, 80);
/* oklch */ color: oklch(25.7% 0.094 269.4);
Tailwind
colors: {
  custom: {
    50: '#5a5882',
    500: '#121d50',
    950: '#000000',
  },
}
SCSS
$custom: #121d50;
$custom-light: #5a5882;
$custom-dark: #000000;
JSON
{
  "hex": "#121d50",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 229.355,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25719,
    "c": 0.09442,
    "h": 269.4
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#121D50
secondary
#897A35
accent
#C941E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #121D50

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

Preview Lab → · Contrast checker → · Palette generator →

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