#121C43#121C43

#121C43 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.075 H 269.3°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#121C43
RGBrgb(18, 28, 67)
HSLhsl(228, 58%, 17%)
HSVhsv(228, 73%, 26%)
CMYKcmyk(73.1%, 58.2%, 0%, 73.7%)
CIE-LABlab(11.72, 10.71, -26.07)
CIE-LCHlch(11.72, 28.19, 292.33°)
OKLaboklab(24.29% -0.0009 -0.0748)
OKLCHoklch(24.29% 0.075 269.3)
XYZxyz(1.6775, 1.3642, 5.4840)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C43 #433912
analogous
#123543 #121C43 #211243
triadic
#121C43 #43121C #1C4312
tetradic
#121C43 #431235 #433912 #124321
square
#121C43 #431235 #433912 #124321
split-complementary
#121C43 #432112 #354312
monochromatic
#060A18 #060A18 #121C43 #1F3073 #2C44A3

Accessibility & contrast

On white

16.50
#121C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C43
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C43#FFFFFF#000000##FFFFFF
##121C431.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052144
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121c43;
/* rgb */ color: rgb(18, 28, 67);
/* oklch */ color: oklch(24.3% 0.075 269.3);
Tailwind
colors: {
  custom: {
    50: '#565777',
    500: '#121c43',
    950: '#000000',
  },
}
SCSS
$custom: #121c43;
$custom-light: #565777;
$custom-dark: #000000;
JSON
{
  "hex": "#121c43",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 67
  },
  "hsl": {
    "h": 227.755,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24292,
    "c": 0.07481,
    "h": 269.3
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#121C43
secondary
#7C6E35
accent
#C147E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121C43

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

Preview Lab → · Contrast checker → · Palette generator →

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