#121668#121668

#121668 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.138 H 270.5°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#121668
RGBrgb(18, 22, 104)
HSLhsl(237, 70%, 24%)
HSVhsv(237, 83%, 41%)
CMYKcmyk(82.7%, 78.8%, 0%, 59.2%)
CIE-LABlab(13.84, 30.01, -47.70)
CIE-LCHlch(13.84, 56.35, 302.18°)
OKLaboklab(26.99% 0.0013 -0.1381)
OKLCHoklch(26.99% 0.138 270.5)
XYZxyz(3.0342, 1.7016, 13.2625)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121668 #686412
analogous
#124168 #121668 #391268
triadic
#121668 #681216 #166812
tetradic
#121668 #681241 #686412 #126839
square
#121668 #681241 #686412 #126839
split-complementary
#121668 #683912 #416812
monochromatic
#05061A #090B34 #121668 #1B219C #242CD0

Accessibility & contrast

On white

15.67
#121668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121668
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121668#FFFFFF#000000##FFFFFF
##1216681.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121668;
/* rgb */ color: rgb(18, 22, 104);
/* oklch */ color: oklch(27.0% 0.138 270.5);
Tailwind
colors: {
  custom: {
    50: '#625494',
    500: '#121668',
    950: '#000000',
  },
}
SCSS
$custom: #121668;
$custom-light: #625494;
$custom-dark: #000000;
JSON
{
  "hex": "#121668",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 237.209,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26985,
    "c": 0.13815,
    "h": 270.5
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#121668
secondary
#A09B36
accent
#E53BED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121668

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

Preview Lab → · Contrast checker → · Palette generator →

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