#121A30#121A30

#121A30 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.3% C 0.045 H 267.6°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#121A30
RGBrgb(18, 26, 48)
HSLhsl(224, 45%, 13%)
HSVhsv(224, 63%, 19%)
CMYKcmyk(62.5%, 45.8%, 0%, 81.2%)
CIE-LABlab(9.65, 4.31, -15.81)
CIE-LCHlch(9.65, 16.39, 285.27°)
OKLaboklab(22.26% -0.0019 -0.0447)
OKLCHoklch(22.26% 0.045 267.6)
XYZxyz(1.1522, 1.0807, 2.9436)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A30 #302812
analogous
#122930 #121A30 #191230
triadic
#121A30 #30121A #1A3012
tetradic
#121A30 #301229 #302812 #123019
square
#121A30 #301229 #302812 #123019
split-complementary
#121A30 #301912 #293012
monochromatic
#080C16 #080C16 #121A30 #23325D #334A89

Accessibility & contrast

On white

17.27
#121A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A30
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A30#FFFFFF#000000##FFFFFF
##121A301.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C31
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#051F22
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121a30;
/* rgb */ color: rgb(18, 26, 48);
/* oklch */ color: oklch(22.3% 0.045 267.6);
Tailwind
colors: {
  custom: {
    50: '#525668',
    500: '#121a30',
    950: '#000000',
  },
}
SCSS
$custom: #121a30;
$custom-light: #525668;
$custom-dark: #000000;
JSON
{
  "hex": "#121a30",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 224,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22258,
    "c": 0.04474,
    "h": 267.6
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#121A30
secondary
#685B36
accent
#B253D5
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#020306
muted
#78787A

Preview Lab

Preview with #121A30

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

Preview Lab → · Contrast checker → · Palette generator →

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