#121365#121365

#121365 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.137 H 271.3°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#121365
RGBrgb(18, 19, 101)
HSLhsl(239, 70%, 23%)
HSVhsv(239, 82%, 40%)
CMYKcmyk(82.2%, 81.2%, 0%, 60.4%)
CIE-LABlab(12.82, 30.76, -47.40)
CIE-LCHlch(12.82, 56.50, 302.98°)
OKLaboklab(26.16% 0.0031 -0.1372)
OKLCHoklch(26.16% 0.137 271.3)
XYZxyz(2.8305, 1.5336, 12.4562)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121365 #656412
analogous
#123C65 #121365 #3A1265
triadic
#121365 #651213 #136512
tetradic
#121365 #65123C #656412 #12653A
square
#121365 #65123C #656412 #12653A
split-complementary
#121365 #653A12 #3C6512
monochromatic
#05051A #090931 #121365 #1B1D99 #2527CD

Accessibility & contrast

On white

16.07
#121365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121365
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121365#FFFFFF#000000##FFFFFF
##1213651.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001D64
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121365;
/* rgb */ color: rgb(18, 19, 101);
/* oklch */ color: oklch(26.2% 0.137 271.3);
Tailwind
colors: {
  custom: {
    50: '#615292',
    500: '#121365',
    950: '#000000',
  },
}
SCSS
$custom: #121365;
$custom-light: #615292;
$custom-dark: #000000;
JSON
{
  "hex": "#121365",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 239.277,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2616,
    "c": 0.13727,
    "h": 271.3
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#121365
secondary
#9D9C36
accent
#EA3BED
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121365

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

Preview Lab → · Contrast checker → · Palette generator →

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