#121657#121657

#121657 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.115 H 272.0°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#121657
RGBrgb(18, 22, 87)
HSLhsl(237, 66%, 21%)
HSVhsv(237, 79%, 34%)
CMYKcmyk(79.3%, 74.7%, 0%, 65.9%)
CIE-LABlab(11.89, 23.47, -39.56)
CIE-LCHlch(11.89, 45.99, 300.68°)
OKLaboklab(25.01% 0.004 -0.1144)
OKLCHoklch(25.01% 0.115 272)
XYZxyz(2.2561, 1.3903, 9.1644)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121657 #575312
analogous
#123857 #121657 #301257
triadic
#121657 #571216 #165712
tetradic
#121657 #571238 #575312 #125730
square
#121657 #571238 #575312 #125730
split-complementary
#121657 #573012 #385712
monochromatic
#050619 #080924 #121657 #1C238A #2730BC

Accessibility & contrast

On white

16.43
#121657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121657
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121657#FFFFFF#000000##FFFFFF
##1216571.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#001C56
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121657;
/* rgb */ color: rgb(18, 22, 87);
/* oklch */ color: oklch(25.0% 0.115 272.0);
Tailwind
colors: {
  custom: {
    50: '#5d5387',
    500: '#121657',
    950: '#000000',
  },
}
SCSS
$custom: #121657;
$custom-light: #5d5387;
$custom-dark: #000000;
JSON
{
  "hex": "#121657",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 236.522,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25013,
    "c": 0.1145,
    "h": 272
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#121657
secondary
#908A35
accent
#DF3FE9
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121657

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

Preview Lab → · Contrast checker → · Palette generator →

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