#121367#121367

#121367 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.140 H 271.1°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#121367
RGBrgb(18, 19, 103)
HSLhsl(239, 70%, 24%)
HSVhsv(239, 83%, 40%)
CMYKcmyk(82.5%, 81.6%, 0%, 59.6%)
CIE-LABlab(13.07, 31.48, -48.31)
CIE-LCHlch(13.07, 57.67, 303.09°)
OKLaboklab(26.41% 0.0027 -0.1399)
OKLCHoklch(26.41% 0.14 271.1)
XYZxyz(2.9297, 1.5733, 12.9786)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121367 #676612
analogous
#123D67 #121367 #3B1267
triadic
#121367 #671213 #136712
tetradic
#121367 #67123D #676612 #12673B
square
#121367 #67123D #676612 #12673B
split-complementary
#121367 #673B12 #3D6712
monochromatic
#05051A #090933 #121367 #1B1D9B #2426CF

Accessibility & contrast

On white

15.97
#121367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121367
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121367#FFFFFF#000000##FFFFFF
##1213671.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001D66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121367;
/* rgb */ color: rgb(18, 19, 103);
/* oklch */ color: oklch(26.4% 0.140 271.1);
Tailwind
colors: {
  custom: {
    50: '#625293',
    500: '#121367',
    950: '#000000',
  },
}
SCSS
$custom: #121367;
$custom-light: #625293;
$custom-dark: #000000;
JSON
{
  "hex": "#121367",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 239.294,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26405,
    "c": 0.13992,
    "h": 271.1
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #121367

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

Preview Lab → · Contrast checker → · Palette generator →

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