#121968#121968

#121968 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.135 H 270.0°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#121968
RGBrgb(18, 25, 104)
HSLhsl(235, 70%, 24%)
HSVhsv(235, 83%, 41%)
CMYKcmyk(82.7%, 76%, 0%, 59.2%)
CIE-LABlab(14.53, 28.07, -46.55)
CIE-LCHlch(14.53, 54.36, 301.09°)
OKLaboklab(27.48% -0.0001 -0.1348)
OKLCHoklch(27.48% 0.135 270)
XYZxyz(3.0949, 1.8230, 13.2828)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121968 #686112
analogous
#124468 #121968 #361268
triadic
#121968 #681219 #196812
tetradic
#121968 #681244 #686112 #126836
square
#121968 #681244 #686112 #126836
split-complementary
#121968 #683612 #446812
monochromatic
#05061A #090C34 #121968 #1B269C #2432D0

Accessibility & contrast

On white

15.39
#121968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121968
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121968#FFFFFF#000000##FFFFFF
##1219681.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121968;
/* rgb */ color: rgb(18, 25, 104);
/* oklch */ color: oklch(27.5% 0.135 270.0);
Tailwind
colors: {
  custom: {
    50: '#615694',
    500: '#121968',
    950: '#000000',
  },
}
SCSS
$custom: #121968;
$custom-light: #615694;
$custom-dark: #000000;
JSON
{
  "hex": "#121968",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 235.116,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2748,
    "c": 0.13483,
    "h": 270
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#121968
secondary
#A09736
accent
#DF3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121968

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

Preview Lab → · Contrast checker → · Palette generator →

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