#121653#121653

#121653 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.109 H 272.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#121653
RGBrgb(18, 22, 83)
HSLhsl(236, 64%, 20%)
HSVhsv(236, 78%, 33%)
CMYKcmyk(78.3%, 73.5%, 0%, 67.5%)
CIE-LABlab(11.46, 21.87, -37.55)
CIE-LCHlch(11.46, 43.45, 300.22°)
OKLaboklab(24.57% 0.0045 -0.1086)
OKLCHoklch(24.57% 0.109 272.4)
XYZxyz(2.0972, 1.3267, 8.3275)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121653 #534F12
analogous
#123653 #121653 #2F1253
triadic
#121653 #531216 #165312
tetradic
#121653 #531236 #534F12 #12532F
square
#121653 #531236 #534F12 #12532F
split-complementary
#121653 #532F12 #365312
monochromatic
#050719 #070921 #121653 #1D2385 #2831B8

Accessibility & contrast

On white

16.60
#121653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121653
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121653#FFFFFF#000000##FFFFFF
##1216531.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001B52
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121653;
/* rgb */ color: rgb(18, 22, 83);
/* oklch */ color: oklch(24.6% 0.109 272.4);
Tailwind
colors: {
  custom: {
    50: '#5b5384',
    500: '#121653',
    950: '#000000',
  },
}
SCSS
$custom: #121653;
$custom-light: #5b5384;
$custom-dark: #000000;
JSON
{
  "hex": "#121653",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 236.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.10865,
    "h": 272.4
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#121653
secondary
#8C8635
accent
#DD40E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #121653

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

Preview Lab → · Contrast checker → · Palette generator →

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