#121849#121849

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

Color values

HEX#121849
RGBrgb(18, 24, 73)
HSLhsl(233, 60%, 18%)
HSVhsv(233, 75%, 29%)
CMYKcmyk(75.3%, 67.1%, 0%, 71.4%)
CIE-LABlab(11.01, 16.31, -31.40)
CIE-LCHlch(11.01, 35.38, 297.44°)
OKLaboklab(23.93% 0.0036 -0.0905)
OKLCHoklch(23.93% 0.091 272.2)
XYZxyz(1.7783, 1.2627, 6.4521)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121849 #494312
analogous
#123349 #121849 #281249
triadic
#121849 #491218 #184912
tetradic
#121849 #491233 #494312 #124928
square
#121849 #491233 #494312 #124928
split-complementary
#121849 #492812 #334912
monochromatic
#060819 #060819 #121849 #1E287A #2A38AB

Accessibility & contrast

On white

16.77
#121849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121849
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121849#FFFFFF#000000##FFFFFF
##1218491.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#001B48
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121849;
/* rgb */ color: rgb(18, 24, 73);
/* oklch */ color: oklch(23.9% 0.091 272.2);
Tailwind
colors: {
  custom: {
    50: '#58547c',
    500: '#121849',
    950: '#000000',
  },
}
SCSS
$custom: #121849;
$custom-light: #58547c;
$custom-dark: #000000;
JSON
{
  "hex": "#121849",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 233.455,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23931,
    "c": 0.09059,
    "h": 272.2
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#121849
secondary
#827A35
accent
#D244E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121849

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

Preview Lab → · Contrast checker → · Palette generator →

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