#121334#121334

#121334 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.064 H 278.0°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#121334
RGBrgb(18, 19, 52)
HSLhsl(238, 49%, 14%)
HSVhsv(238, 65%, 20%)
CMYKcmyk(65.4%, 63.5%, 0%, 79.6%)
CIE-LABlab(7.61, 11.41, -21.98)
CIE-LCHlch(7.61, 24.77, 297.43°)
OKLaboklab(20.8% 0.0089 -0.0629)
OKLCHoklch(20.8% 0.064 278)
XYZxyz(1.1020, 0.8422, 3.3526)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121334 #343312
analogous
#122434 #121334 #221234
triadic
#121334 #341213 #133412
tetradic
#121334 #341224 #343312 #123422
square
#121334 #341224 #343312 #123422
split-complementary
#121334 #342212 #243412
monochromatic
#080817 #080817 #121334 #222461 #31348F

Accessibility & contrast

On white

17.97
#121334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#121334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121334
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121334#FFFFFF#000000##FFFFFF
##1213341.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021835
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#031B21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #121334;
/* rgb */ color: rgb(18, 19, 52);
/* oklch */ color: oklch(20.8% 0.064 278.0);
Tailwind
colors: {
  custom: {
    50: '#53506c',
    500: '#121334',
    950: '#000000',
  },
}
SCSS
$custom: #121334;
$custom-light: #53506c;
$custom-dark: #000000;
JSON
{
  "hex": "#121334",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 238.235,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20798,
    "c": 0.06355,
    "h": 278
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#121334
secondary
#6C6B35
accent
#D450D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030207
muted
#78787A

Preview Lab

Preview with #121334

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

Preview Lab → · Contrast checker → · Palette generator →

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