#121749#121749

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

Color values

HEX#121749
RGBrgb(18, 23, 73)
HSLhsl(235, 60%, 18%)
HSVhsv(235, 75%, 29%)
CMYKcmyk(75.3%, 68.5%, 0%, 71.4%)
CIE-LABlab(10.72, 17.05, -31.88)
CIE-LCHlch(10.72, 36.15, 298.15°)
OKLaboklab(23.72% 0.0045 -0.0919)
OKLCHoklch(23.72% 0.092 272.8)
XYZxyz(1.7580, 1.2223, 6.4453)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121749 #494412
analogous
#123349 #121749 #281249
triadic
#121749 #491217 #174912
tetradic
#121749 #491233 #494412 #124928
square
#121749 #491233 #494412 #124928
split-complementary
#121749 #492812 #334912
monochromatic
#060819 #060819 #121749 #1E267A #2A36AB

Accessibility & contrast

On white

16.88
#121749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121749
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121749#FFFFFF#000000##FFFFFF
##1217491.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121749;
/* rgb */ color: rgb(18, 23, 73);
/* oklch */ color: oklch(23.7% 0.092 272.8);
Tailwind
colors: {
  custom: {
    50: '#59537c',
    500: '#121749',
    950: '#000000',
  },
}
SCSS
$custom: #121749;
$custom-light: #59537c;
$custom-dark: #000000;
JSON
{
  "hex": "#121749",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 234.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23715,
    "c": 0.09204,
    "h": 272.8
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#121749
secondary
#827B35
accent
#D544E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121749

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

Preview Lab → · Contrast checker → · Palette generator →

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