#121650#121650

#121650 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.104 H 272.6°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#121650
RGBrgb(18, 22, 80)
HSLhsl(236, 63%, 19%)
HSVhsv(236, 78%, 31%)
CMYKcmyk(77.5%, 72.5%, 0%, 68.6%)
CIE-LABlab(11.14, 20.66, -36.01)
CIE-LCHlch(11.14, 41.52, 299.84°)
OKLaboklab(24.24% 0.0048 -0.1041)
OKLCHoklch(24.24% 0.104 272.6)
XYZxyz(1.9838, 1.2814, 7.7306)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121650 #504C12
analogous
#123550 #121650 #2D1250
triadic
#121650 #501216 #165012
tetradic
#121650 #501235 #504C12 #12502D
square
#121650 #501235 #504C12 #12502D
split-complementary
#121650 #502D12 #355012
monochromatic
#060719 #07081E #121650 #1D2482 #2831B4

Accessibility & contrast

On white

16.71
#121650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121650
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121650#FFFFFF#000000##FFFFFF
##1216501.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121650;
/* rgb */ color: rgb(18, 22, 80);
/* oklch */ color: oklch(24.2% 0.104 272.6);
Tailwind
colors: {
  custom: {
    50: '#5b5382',
    500: '#121650',
    950: '#000000',
  },
}
SCSS
$custom: #121650;
$custom-light: #5b5382;
$custom-dark: #000000;
JSON
{
  "hex": "#121650",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 236.129,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24243,
    "c": 0.10418,
    "h": 272.6
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#121650
secondary
#898435
accent
#DC41E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121650

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

Preview Lab → · Contrast checker → · Palette generator →

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