#121655#121655

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

Color values

HEX#121655
RGBrgb(18, 22, 85)
HSLhsl(236, 65%, 20%)
HSVhsv(236, 79%, 33%)
CMYKcmyk(78.8%, 74.1%, 0%, 66.7%)
CIE-LABlab(11.68, 22.67, -38.56)
CIE-LCHlch(11.68, 44.73, 300.45°)
OKLaboklab(24.79% 0.0042 -0.1115)
OKLCHoklch(24.79% 0.112 272.2)
XYZxyz(2.1755, 1.3581, 8.7400)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121655 #555112
analogous
#123755 #121655 #2F1255
triadic
#121655 #551216 #165512
tetradic
#121655 #551237 #555112 #12552F
square
#121655 #551237 #555112 #12552F
split-complementary
#121655 #552F12 #375512
monochromatic
#050719 #070922 #121655 #1D2388 #2730BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121655#FFFFFF#000000##FFFFFF
##1216551.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)
#002257
Deuteranopia (green-blind)
#001C54
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121655;
/* rgb */ color: rgb(18, 22, 85);
/* oklch */ color: oklch(24.8% 0.112 272.2);
Tailwind
colors: {
  custom: {
    50: '#5c5386',
    500: '#121655',
    950: '#000000',
  },
}
SCSS
$custom: #121655;
$custom-light: #5c5386;
$custom-dark: #000000;
JSON
{
  "hex": "#121655",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 236.418,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24791,
    "c": 0.11159,
    "h": 272.2
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#121655
secondary
#8E8835
accent
#DE40E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121655

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

Preview Lab → · Contrast checker → · Palette generator →

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