#121568#121568

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

Color values

HEX#121568
RGBrgb(18, 21, 104)
HSLhsl(238, 70%, 24%)
HSVhsv(238, 83%, 41%)
CMYKcmyk(82.7%, 79.8%, 0%, 59.2%)
CIE-LABlab(13.62, 30.63, -48.06)
CIE-LCHlch(13.62, 57.00, 302.51°)
OKLaboklab(26.83% 0.0017 -0.1392)
OKLCHoklch(26.83% 0.139 270.7)
XYZxyz(3.0155, 1.6641, 13.2563)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121568 #686512
analogous
#124068 #121568 #3A1268
triadic
#121568 #681215 #156812
tetradic
#121568 #681240 #686512 #12683A
square
#121568 #681240 #686512 #12683A
split-complementary
#121568 #683A12 #406812
monochromatic
#05051A #090A34 #121568 #1B209C #242AD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121568#FFFFFF#000000##FFFFFF
##1215681.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)
#00276A
Deuteranopia (green-blind)
#001E67
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121568;
/* rgb */ color: rgb(18, 21, 104);
/* oklch */ color: oklch(26.8% 0.139 270.7);
Tailwind
colors: {
  custom: {
    50: '#625394',
    500: '#121568',
    950: '#000000',
  },
}
SCSS
$custom: #121568;
$custom-light: #625394;
$custom-dark: #000000;
JSON
{
  "hex": "#121568",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 237.907,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26829,
    "c": 0.1392,
    "h": 270.7
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#121568
secondary
#A09C36
accent
#E73BED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121568

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

Preview Lab → · Contrast checker → · Palette generator →

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