#121665#121665

#121665 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.134 H 270.8°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#121665
RGBrgb(18, 22, 101)
HSLhsl(237, 70%, 23%)
HSVhsv(237, 82%, 40%)
CMYKcmyk(82.2%, 78.2%, 0%, 60.4%)
CIE-LABlab(13.48, 28.88, -46.31)
CIE-LCHlch(13.48, 54.57, 301.95°)
OKLaboklab(26.63% 0.0018 -0.1341)
OKLCHoklch(26.63% 0.134 270.8)
XYZxyz(2.8845, 1.6417, 12.4742)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121665 #656112
analogous
#123F65 #121665 #371265
triadic
#121665 #651216 #166512
tetradic
#121665 #65123F #656112 #126537
square
#121665 #65123F #656112 #126537
split-complementary
#121665 #653712 #3F6512
monochromatic
#05061A #090B31 #121665 #1B2199 #252DCD

Accessibility & contrast

On white

15.81
#121665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#121665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121665
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121665#FFFFFF#000000##FFFFFF
##1216651.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121665;
/* rgb */ color: rgb(18, 22, 101);
/* oklch */ color: oklch(26.6% 0.134 270.8);
Tailwind
colors: {
  custom: {
    50: '#615492',
    500: '#121665',
    950: '#000000',
  },
}
SCSS
$custom: #121665;
$custom-light: #615492;
$custom-dark: #000000;
JSON
{
  "hex": "#121665",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 237.108,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26629,
    "c": 0.1341,
    "h": 270.8
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#121665
secondary
#9D9836
accent
#E43BED
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121665

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

Preview Lab → · Contrast checker → · Palette generator →

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