#121748#121748

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

Color values

HEX#121748
RGBrgb(18, 23, 72)
HSLhsl(234, 60%, 18%)
HSVhsv(234, 75%, 28%)
CMYKcmyk(75%, 68.1%, 0%, 71.8%)
CIE-LABlab(10.62, 16.64, -31.34)
CIE-LCHlch(10.62, 35.48, 297.97°)
OKLaboklab(23.61% 0.0045 -0.0903)
OKLCHoklch(23.61% 0.09 272.9)
XYZxyz(1.7252, 1.2091, 6.2721)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121748 #484312
analogous
#123248 #121748 #281248
triadic
#121748 #481217 #174812
tetradic
#121748 #481232 #484312 #124828
square
#121748 #481232 #484312 #124828
split-complementary
#121748 #482812 #324812
monochromatic
#060818 #060818 #121748 #1E2779 #2A36AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121748#FFFFFF#000000##FFFFFF
##1217481.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)
#001F4A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121748;
/* rgb */ color: rgb(18, 23, 72);
/* oklch */ color: oklch(23.6% 0.090 272.9);
Tailwind
colors: {
  custom: {
    50: '#58537b',
    500: '#121748',
    950: '#000000',
  },
}
SCSS
$custom: #121748;
$custom-light: #58537b;
$custom-dark: #000000;
JSON
{
  "hex": "#121748",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 234.444,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23614,
    "c": 0.09046,
    "h": 272.9
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#121748
secondary
#817A35
accent
#D445E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121748

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

Preview Lab → · Contrast checker → · Palette generator →

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