#121750#121750

#121750 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.103 H 272.2°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#121750
RGBrgb(18, 23, 80)
HSLhsl(235, 63%, 19%)
HSVhsv(235, 78%, 31%)
CMYKcmyk(77.5%, 71.2%, 0%, 68.6%)
CIE-LABlab(11.42, 19.94, -35.57)
CIE-LCHlch(11.42, 40.77, 299.27°)
OKLaboklab(24.44% 0.004 -0.1028)
OKLCHoklch(24.44% 0.103 272.2)
XYZxyz(2.0033, 1.3204, 7.7371)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121750 #504B12
analogous
#123650 #121750 #2C1250
triadic
#121750 #501217 #175012
tetradic
#121750 #501236 #504B12 #12502C
square
#121750 #501236 #504B12 #12502C
split-complementary
#121750 #502C12 #365012
monochromatic
#060719 #07091E #121750 #1D2582 #2834B4

Accessibility & contrast

On white

16.61
#121750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121750
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121750#FFFFFF#000000##FFFFFF
##1217501.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#001B4F
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121750;
/* rgb */ color: rgb(18, 23, 80);
/* oklch */ color: oklch(24.4% 0.103 272.2);
Tailwind
colors: {
  custom: {
    50: '#5a5482',
    500: '#121750',
    950: '#000000',
  },
}
SCSS
$custom: #121750;
$custom-light: #5a5482;
$custom-dark: #000000;
JSON
{
  "hex": "#121750",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 235.161,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24442,
    "c": 0.10284,
    "h": 272.2
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#121750
secondary
#898235
accent
#D941E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121750

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

Preview Lab → · Contrast checker → · Palette generator →

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