#121C41#121C41

#121C41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.071 H 269.1°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#121C41
RGBrgb(18, 28, 65)
HSLhsl(227, 57%, 16%)
HSVhsv(227, 72%, 25%)
CMYKcmyk(72.3%, 56.9%, 0%, 74.5%)
CIE-LABlab(11.56, 9.86, -24.93)
CIE-LCHlch(11.56, 26.81, 291.58°)
OKLaboklab(24.12% -0.0011 -0.0714)
OKLCHoklch(24.12% 0.071 269.1)
XYZxyz(1.6185, 1.3406, 5.1735)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C41 #413712
analogous
#123441 #121C41 #201241
triadic
#121C41 #41121C #1C4112
tetradic
#121C41 #411234 #413712 #124120
square
#121C41 #411234 #413712 #124120
split-complementary
#121C41 #412012 #344112
monochromatic
#070A18 #070A18 #121C41 #1F3171 #2D45A1

Accessibility & contrast

On white

16.56
#121C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C41
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C41#FFFFFF#000000##FFFFFF
##121C411.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121c41;
/* rgb */ color: rgb(18, 28, 65);
/* oklch */ color: oklch(24.1% 0.071 269.1);
Tailwind
colors: {
  custom: {
    50: '#565776',
    500: '#121c41',
    950: '#000000',
  },
}
SCSS
$custom: #121c41;
$custom-light: #565776;
$custom-dark: #000000;
JSON
{
  "hex": "#121c41",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 227.234,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24119,
    "c": 0.07144,
    "h": 269.1
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#121C41
secondary
#7A6B35
accent
#C048E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121C41

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

Preview Lab → · Contrast checker → · Palette generator →

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