#121450#121450

#121450 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.107 H 273.4°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#121450
RGBrgb(18, 20, 80)
HSLhsl(238, 63%, 19%)
HSVhsv(238, 78%, 31%)
CMYKcmyk(77.5%, 75%, 0%, 68.6%)
CIE-LABlab(10.62, 22.09, -36.88)
CIE-LCHlch(10.62, 42.99, 300.92°)
OKLaboklab(23.86% 0.0063 -0.1066)
OKLCHoklch(23.86% 0.107 273.4)
XYZxyz(1.9471, 1.2079, 7.7184)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121450 #504E12
analogous
#123350 #121450 #2F1250
triadic
#121450 #501214 #145012
tetradic
#121450 #501233 #504E12 #12502F
square
#121450 #501233 #504E12 #12502F
split-complementary
#121450 #502F12 #335012
monochromatic
#060619 #07081E #121450 #1D2082 #282DB4

Accessibility & contrast

On white

16.91
#121450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121450
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121450#FFFFFF#000000##FFFFFF
##1214501.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001A4F
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121450;
/* rgb */ color: rgb(18, 20, 80);
/* oklch */ color: oklch(23.9% 0.107 273.4);
Tailwind
colors: {
  custom: {
    50: '#5b5182',
    500: '#121450',
    950: '#000000',
  },
}
SCSS
$custom: #121450;
$custom-light: #5b5182;
$custom-dark: #000000;
JSON
{
  "hex": "#121450",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 238.065,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23859,
    "c": 0.10681,
    "h": 273.4
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#121450
secondary
#898635
accent
#E141E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121450

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

Preview Lab → · Contrast checker → · Palette generator →

#121450 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva