#121346#121346

#121346 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.093 H 275.1°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#121346
RGBrgb(18, 19, 70)
HSLhsl(239, 59%, 17%)
HSVhsv(239, 74%, 27%)
CMYKcmyk(74.3%, 72.9%, 0%, 72.5%)
CIE-LABlab(9.29, 18.80, -32.12)
CIE-LCHlch(9.29, 37.21, 300.34°)
OKLaboklab(22.58% 0.0084 -0.0927)
OKLCHoklch(22.58% 0.093 275.1)
XYZxyz(1.5875, 1.0364, 5.9096)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121346 #464512
analogous
#122D46 #121346 #2B1246
triadic
#121346 #461213 #134612
tetradic
#121346 #46122D #464512 #12462B
square
#121346 #46122D #464512 #12462B
split-complementary
#121346 #462B12 #2D4612
monochromatic
#060718 #060718 #121346 #1F2077 #2B2DA7

Accessibility & contrast

On white

17.39
#121346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#121346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121346
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121346#FFFFFF#000000##FFFFFF
##1213461.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121346;
/* rgb */ color: rgb(18, 19, 70);
/* oklch */ color: oklch(22.6% 0.093 275.1);
Tailwind
colors: {
  custom: {
    50: '#58507a',
    500: '#121346',
    950: '#000000',
  },
}
SCSS
$custom: #121346;
$custom-light: #58507a;
$custom-dark: #000000;
JSON
{
  "hex": "#121346",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 238.846,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22575,
    "c": 0.09305,
    "h": 275.1
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#121346
secondary
#7F7E35
accent
#DF46E2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #121346

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

Preview Lab → · Contrast checker → · Palette generator →

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