#121350#121350

#121350 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.108 H 273.7°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#121350
RGBrgb(18, 19, 80)
HSLhsl(239, 63%, 19%)
HSVhsv(239, 78%, 31%)
CMYKcmyk(77.5%, 76.3%, 0%, 68.6%)
CIE-LABlab(10.36, 22.79, -37.31)
CIE-LCHlch(10.36, 43.71, 301.42°)
OKLaboklab(23.67% 0.007 -0.1078)
OKLCHoklch(23.67% 0.108 273.7)
XYZxyz(1.9298, 1.1733, 7.7126)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121350 #504F12
analogous
#123250 #121350 #301250
triadic
#121350 #501213 #135012
tetradic
#121350 #501232 #504F12 #125030
square
#121350 #501232 #504F12 #125030
split-complementary
#121350 #503012 #325012
monochromatic
#060619 #07071E #121350 #1D1F82 #282BB4

Accessibility & contrast

On white

17.01
#121350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121350
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121350#FFFFFF#000000##FFFFFF
##1213501.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121350;
/* rgb */ color: rgb(18, 19, 80);
/* oklch */ color: oklch(23.7% 0.108 273.7);
Tailwind
colors: {
  custom: {
    50: '#5b5182',
    500: '#121350',
    950: '#000000',
  },
}
SCSS
$custom: #121350;
$custom-light: #5b5182;
$custom-dark: #000000;
JSON
{
  "hex": "#121350",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 239.032,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23675,
    "c": 0.10808,
    "h": 273.7
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#121350
secondary
#898835
accent
#E441E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121350

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

Preview Lab → · Contrast checker → · Palette generator →

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