#121764#121764

#121764 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.132 H 270.6°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#121764
RGBrgb(18, 23, 100)
HSLhsl(236, 69%, 23%)
HSVhsv(236, 82%, 39%)
CMYKcmyk(82%, 77%, 0%, 60.8%)
CIE-LABlab(13.60, 27.85, -45.45)
CIE-LCHlch(13.60, 53.31, 301.50°)
OKLaboklab(26.68% 0.0015 -0.1316)
OKLCHoklch(26.68% 0.132 270.6)
XYZxyz(2.8553, 1.6612, 12.2243)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121764 #645F12
analogous
#124064 #121764 #361264
triadic
#121764 #641217 #176412
tetradic
#121764 #641240 #645F12 #126436
square
#121764 #641240 #645F12 #126436
split-complementary
#121764 #643612 #406412
monochromatic
#05061A #090B30 #121764 #1B2398 #252FCC

Accessibility & contrast

On white

15.76
#121764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121764
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121764#FFFFFF#000000##FFFFFF
##1217641.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121764;
/* rgb */ color: rgb(18, 23, 100);
/* oklch */ color: oklch(26.7% 0.132 270.6);
Tailwind
colors: {
  custom: {
    50: '#605491',
    500: '#121764',
    950: '#000000',
  },
}
SCSS
$custom: #121764;
$custom-light: #605491;
$custom-dark: #000000;
JSON
{
  "hex": "#121764",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 236.341,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26677,
    "c": 0.13162,
    "h": 270.6
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#121764
secondary
#9C9636
accent
#E23BEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121764

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

Preview Lab → · Contrast checker → · Palette generator →

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