#121850#121850

#121850 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.101 H 271.8°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#121850
RGBrgb(18, 24, 80)
HSLhsl(234, 63%, 19%)
HSVhsv(234, 78%, 31%)
CMYKcmyk(77.5%, 70%, 0%, 68.6%)
CIE-LABlab(11.69, 19.20, -35.11)
CIE-LCHlch(11.69, 40.02, 298.68°)
OKLaboklab(24.65% 0.0032 -0.1014)
OKLCHoklch(24.65% 0.101 271.8)
XYZxyz(2.0236, 1.3609, 7.7439)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121850 #504A12
analogous
#123750 #121850 #2B1250
triadic
#121850 #501218 #185012
tetradic
#121850 #501237 #504A12 #12502B
square
#121850 #501237 #504A12 #12502B
split-complementary
#121850 #502B12 #375012
monochromatic
#060719 #07091E #121850 #1D2782 #2836B4

Accessibility & contrast

On white

16.51
#121850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121850
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121850#FFFFFF#000000##FFFFFF
##1218501.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#001C4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121850;
/* rgb */ color: rgb(18, 24, 80);
/* oklch */ color: oklch(24.6% 0.101 271.8);
Tailwind
colors: {
  custom: {
    50: '#5a5482',
    500: '#121850',
    950: '#000000',
  },
}
SCSS
$custom: #121850;
$custom-light: #5a5482;
$custom-dark: #000000;
JSON
{
  "hex": "#121850",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 234.194,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24645,
    "c": 0.10147,
    "h": 271.8
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#121850
secondary
#898135
accent
#D641E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121850

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

Preview Lab → · Contrast checker → · Palette generator →

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