#121345#121345

#121345 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.091 H 275.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#121345
RGBrgb(18, 19, 69)
HSLhsl(239, 59%, 17%)
HSVhsv(239, 74%, 27%)
CMYKcmyk(73.9%, 72.5%, 0%, 72.9%)
CIE-LABlab(9.19, 18.39, -31.58)
CIE-LCHlch(9.19, 36.55, 300.21°)
OKLaboklab(22.47% 0.0084 -0.0911)
OKLCHoklch(22.47% 0.092 275.3)
XYZxyz(1.5562, 1.0239, 5.7447)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121345 #454412
analogous
#122D45 #121345 #2B1245
triadic
#121345 #451213 #134512
tetradic
#121345 #45122D #454412 #12452B
square
#121345 #45122D #454412 #12452B
split-complementary
#121345 #452B12 #2D4512
monochromatic
#060718 #060718 #121345 #1F2076 #2B2EA6

Accessibility & contrast

On white

17.43
#121345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#121345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121345
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121345#FFFFFF#000000##FFFFFF
##1213451.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#002029
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121345;
/* rgb */ color: rgb(18, 19, 69);
/* oklch */ color: oklch(22.5% 0.091 275.3);
Tailwind
colors: {
  custom: {
    50: '#585079',
    500: '#121345',
    950: '#000000',
  },
}
SCSS
$custom: #121345;
$custom-light: #585079;
$custom-dark: #000000;
JSON
{
  "hex": "#121345",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 238.824,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22469,
    "c": 0.0915,
    "h": 275.3
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #121345

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

Preview Lab → · Contrast checker → · Palette generator →

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