#121A48#121A48

#121A48 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.086 H 271.1°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#121A48
RGBrgb(18, 26, 72)
HSLhsl(231, 60%, 18%)
HSVhsv(231, 75%, 28%)
CMYKcmyk(75%, 63.9%, 0%, 71.8%)
CIE-LABlab(11.52, 14.37, -29.88)
CIE-LCHlch(11.52, 33.16, 295.68°)
OKLaboklab(24.28% 0.0016 -0.086)
OKLCHoklch(24.28% 0.086 271.1)
XYZxyz(1.7882, 1.3351, 6.2931)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A48 #484012
analogous
#123548 #121A48 #251248
triadic
#121A48 #48121A #1A4812
tetradic
#121A48 #481235 #484012 #124825
square
#121A48 #481235 #484012 #124825
split-complementary
#121A48 #482512 #354812
monochromatic
#060918 #060918 #121A48 #1E2C79 #2A3DAA

Accessibility & contrast

On white

16.57
#121A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A48
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A48#FFFFFF#000000##FFFFFF
##121A481.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121a48;
/* rgb */ color: rgb(18, 26, 72);
/* oklch */ color: oklch(24.3% 0.086 271.1);
Tailwind
colors: {
  custom: {
    50: '#58567b',
    500: '#121a48',
    950: '#000000',
  },
}
SCSS
$custom: #121a48;
$custom-light: #58567b;
$custom-dark: #000000;
JSON
{
  "hex": "#121a48",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 231.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24278,
    "c": 0.08604,
    "h": 271.1
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#121A48
secondary
#817635
accent
#CC45E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121A48

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

Preview Lab → · Contrast checker → · Palette generator →

#121A48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva