#121A50#121A50

#121A50 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.099 H 270.9°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#121A50
RGBrgb(18, 26, 80)
HSLhsl(232, 63%, 19%)
HSVhsv(232, 78%, 31%)
CMYKcmyk(77.5%, 67.5%, 0%, 68.6%)
CIE-LABlab(12.26, 17.72, -34.18)
CIE-LCHlch(12.26, 38.51, 297.41°)
OKLaboklab(25.06% 0.0016 -0.0987)
OKLCHoklch(25.06% 0.099 270.9)
XYZxyz(2.0663, 1.4464, 7.7581)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A50 #504812
analogous
#123950 #121A50 #291250
triadic
#121A50 #50121A #1A5012
tetradic
#121A50 #501239 #504812 #125029
square
#121A50 #501239 #504812 #125029
split-complementary
#121A50 #502912 #395012
monochromatic
#060819 #070A1E #121A50 #1D2A82 #283AB4

Accessibility & contrast

On white

16.29
#121A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A50
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A50#FFFFFF#000000##FFFFFF
##121A501.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121a50;
/* rgb */ color: rgb(18, 26, 80);
/* oklch */ color: oklch(25.1% 0.099 270.9);
Tailwind
colors: {
  custom: {
    50: '#5a5682',
    500: '#121a50',
    950: '#000000',
  },
}
SCSS
$custom: #121a50;
$custom-light: #5a5682;
$custom-dark: #000000;
JSON
{
  "hex": "#121a50",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 232.258,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25063,
    "c": 0.09869,
    "h": 270.9
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#121A50
secondary
#897E35
accent
#D141E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #121A50

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

Preview Lab → · Contrast checker → · Palette generator →

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