#121A43#121A43

#121A43 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.078 H 271.0°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#121A43
RGBrgb(18, 26, 67)
HSLhsl(230, 58%, 17%)
HSVhsv(230, 73%, 26%)
CMYKcmyk(73.1%, 61.2%, 0%, 73.7%)
CIE-LABlab(11.08, 12.25, -27.10)
CIE-LCHlch(11.08, 29.74, 294.33°)
OKLaboklab(23.81% 0.0014 -0.0778)
OKLCHoklch(23.81% 0.078 271)
XYZxyz(1.6316, 1.2725, 5.4687)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A43 #433B12
analogous
#123343 #121A43 #231243
triadic
#121A43 #43121A #1A4312
tetradic
#121A43 #431233 #433B12 #124323
square
#121A43 #431233 #433B12 #124323
split-complementary
#121A43 #432312 #334312
monochromatic
#060918 #060918 #121A43 #1F2D73 #2C3FA3

Accessibility & contrast

On white

16.74
#121A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A43
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A43#FFFFFF#000000##FFFFFF
##121A431.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012044
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121a43;
/* rgb */ color: rgb(18, 26, 67);
/* oklch */ color: oklch(23.8% 0.078 271.0);
Tailwind
colors: {
  custom: {
    50: '#575677',
    500: '#121a43',
    950: '#000000',
  },
}
SCSS
$custom: #121a43;
$custom-light: #575677;
$custom-dark: #000000;
JSON
{
  "hex": "#121a43",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 230.204,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23813,
    "c": 0.07786,
    "h": 271
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#121A43
secondary
#7C7035
accent
#C847E1
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121A43

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

Preview Lab → · Contrast checker → · Palette generator →

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