#121B50#121B50

#121B50 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.097 H 270.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#121B50
RGBrgb(18, 27, 80)
HSLhsl(231, 63%, 19%)
HSVhsv(231, 78%, 31%)
CMYKcmyk(77.5%, 66.3%, 0%, 68.6%)
CIE-LABlab(12.55, 16.98, -33.71)
CIE-LCHlch(12.55, 37.75, 296.73°)
OKLaboklab(25.28% 0.0007 -0.0973)
OKLCHoklch(25.28% 0.097 270.4)
XYZxyz(2.0889, 1.4914, 7.7657)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B50 #504712
analogous
#123A50 #121B50 #281250
triadic
#121B50 #50121B #1B5012
tetradic
#121B50 #50123A #504712 #125028
square
#121B50 #50123A #504712 #125028
split-complementary
#121B50 #502812 #3A5012
monochromatic
#060819 #070A1E #121B50 #1D2C82 #283DB4

Accessibility & contrast

On white

16.17
#121B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B50
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B50#FFFFFF#000000##FFFFFF
##121B501.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121b50;
/* rgb */ color: rgb(18, 27, 80);
/* oklch */ color: oklch(25.3% 0.097 270.4);
Tailwind
colors: {
  custom: {
    50: '#5a5782',
    500: '#121b50',
    950: '#000000',
  },
}
SCSS
$custom: #121b50;
$custom-light: #5a5782;
$custom-dark: #000000;
JSON
{
  "hex": "#121b50",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 231.29,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25278,
    "c": 0.09727,
    "h": 270.4
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#121B50
secondary
#897D35
accent
#CE41E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #121B50

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

Preview Lab → · Contrast checker → · Palette generator →

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