#121348#121348

#121348 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.096 H 274.8°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#121348
RGBrgb(18, 19, 72)
HSLhsl(239, 60%, 18%)
HSVhsv(239, 75%, 28%)
CMYKcmyk(75%, 73.6%, 0%, 71.8%)
CIE-LABlab(9.50, 19.60, -33.18)
CIE-LCHlch(9.50, 38.53, 300.57°)
OKLaboklab(22.79% 0.0081 -0.0958)
OKLCHoklch(22.79% 0.096 274.8)
XYZxyz(1.6516, 1.0621, 6.2476)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121348 #484712
analogous
#122E48 #121348 #2C1248
triadic
#121348 #481213 #134812
tetradic
#121348 #48122E #484712 #12482C
square
#121348 #48122E #484712 #12482C
split-complementary
#121348 #482C12 #2E4812
monochromatic
#060618 #060618 #121348 #1E2079 #2A2DAA

Accessibility & contrast

On white

17.32
#121348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121348
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121348#FFFFFF#000000##FFFFFF
##1213481.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121348;
/* rgb */ color: rgb(18, 19, 72);
/* oklch */ color: oklch(22.8% 0.096 274.8);
Tailwind
colors: {
  custom: {
    50: '#59507c',
    500: '#121348',
    950: '#000000',
  },
}
SCSS
$custom: #121348;
$custom-light: #59507c;
$custom-dark: #000000;
JSON
{
  "hex": "#121348",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 238.889,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22789,
    "c": 0.09612,
    "h": 274.8
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#121348
secondary
#818035
accent
#E045E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #121348

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

Preview Lab → · Contrast checker → · Palette generator →

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