#121658#121658

#121658 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.116 H 271.9°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#121658
RGBrgb(18, 22, 88)
HSLhsl(237, 66%, 21%)
HSVhsv(237, 80%, 35%)
CMYKcmyk(79.5%, 75%, 0%, 65.5%)
CIE-LABlab(12.00, 23.86, -40.05)
CIE-LCHlch(12.00, 46.62, 300.78°)
OKLaboklab(25.13% 0.0038 -0.1159)
OKLCHoklch(25.13% 0.116 271.9)
XYZxyz(2.2972, 1.4068, 9.3811)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121658 #585412
analogous
#123958 #121658 #311258
triadic
#121658 #581216 #165812
tetradic
#121658 #581239 #585412 #125831
square
#121658 #581239 #585412 #125831
split-complementary
#121658 #583112 #395812
monochromatic
#050619 #080925 #121658 #1C238B #272FBE

Accessibility & contrast

On white

16.39
#121658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121658
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121658#FFFFFF#000000##FFFFFF
##1216581.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121658;
/* rgb */ color: rgb(18, 22, 88);
/* oklch */ color: oklch(25.1% 0.116 271.9);
Tailwind
colors: {
  custom: {
    50: '#5d5388',
    500: '#121658',
    950: '#000000',
  },
}
SCSS
$custom: #121658;
$custom-light: #5d5388;
$custom-dark: #000000;
JSON
{
  "hex": "#121658",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 236.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25126,
    "c": 0.11594,
    "h": 271.9
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#121658
secondary
#918B35
accent
#DF3FE9
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121658

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

Preview Lab → · Contrast checker → · Palette generator →

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