#121366#121366

#121366 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.139 H 271.2°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#121366
RGBrgb(18, 19, 102)
HSLhsl(239, 70%, 24%)
HSVhsv(239, 82%, 40%)
CMYKcmyk(82.4%, 81.4%, 0%, 60%)
CIE-LABlab(12.94, 31.12, -47.86)
CIE-LCHlch(12.94, 57.09, 303.04°)
OKLaboklab(26.28% 0.0029 -0.1386)
OKLCHoklch(26.28% 0.139 271.2)
XYZxyz(2.8798, 1.5533, 12.7158)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121366 #666512
analogous
#123D66 #121366 #3B1266
triadic
#121366 #661213 #136612
tetradic
#121366 #66123D #666512 #12663B
square
#121366 #66123D #666512 #12663B
split-complementary
#121366 #663B12 #3D6612
monochromatic
#05051A #090932 #121366 #1B1D9A #2426CE

Accessibility & contrast

On white

16.02
#121366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121366
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121366#FFFFFF#000000##FFFFFF
##1213661.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121366;
/* rgb */ color: rgb(18, 19, 102);
/* oklch */ color: oklch(26.3% 0.139 271.2);
Tailwind
colors: {
  custom: {
    50: '#615293',
    500: '#121366',
    950: '#000000',
  },
}
SCSS
$custom: #121366;
$custom-light: #615293;
$custom-dark: #000000;
JSON
{
  "hex": "#121366",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 239.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26282,
    "c": 0.1386,
    "h": 271.2
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#121366
secondary
#9E9D36
accent
#EB3BED
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121366

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

Preview Lab → · Contrast checker → · Palette generator →

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