#121368#121368

#121368 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.141 H 271.0°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#121368
RGBrgb(18, 19, 104)
HSLhsl(239, 70%, 24%)
HSVhsv(239, 83%, 41%)
CMYKcmyk(82.7%, 81.7%, 0%, 59.2%)
CIE-LABlab(13.19, 31.85, -48.77)
CIE-LCHlch(13.19, 58.24, 303.14°)
OKLaboklab(26.53% 0.0024 -0.1412)
OKLCHoklch(26.53% 0.141 271)
XYZxyz(2.9802, 1.5935, 13.2445)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121368 #686712
analogous
#123E68 #121368 #3C1268
triadic
#121368 #681213 #136812
tetradic
#121368 #68123E #686712 #12683C
square
#121368 #68123E #686712 #12683C
split-complementary
#121368 #683C12 #3E6812
monochromatic
#05051A #090934 #121368 #1B1D9C #2426D0

Accessibility & contrast

On white

15.92
#121368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121368
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121368#FFFFFF#000000##FFFFFF
##1213681.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001E67
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121368;
/* rgb */ color: rgb(18, 19, 104);
/* oklch */ color: oklch(26.5% 0.141 271.0);
Tailwind
colors: {
  custom: {
    50: '#625294',
    500: '#121368',
    950: '#000000',
  },
}
SCSS
$custom: #121368;
$custom-light: #625294;
$custom-dark: #000000;
JSON
{
  "hex": "#121368",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 239.302,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26529,
    "c": 0.14123,
    "h": 271
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#121368
secondary
#A09E36
accent
#EB3BED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121368

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

Preview Lab → · Contrast checker → · Palette generator →

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