#121A41#121A41

#121A41 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.075 H 270.9°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#121A41
RGBrgb(18, 26, 65)
HSLhsl(230, 57%, 16%)
HSVhsv(230, 72%, 25%)
CMYKcmyk(72.3%, 60%, 0%, 74.5%)
CIE-LABlab(10.91, 11.40, -25.97)
CIE-LCHlch(10.91, 28.36, 293.71°)
OKLaboklab(23.63% 0.0012 -0.0745)
OKLCHoklch(23.63% 0.075 270.9)
XYZxyz(1.5727, 1.2489, 5.1582)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A41 #413912
analogous
#123241 #121A41 #221241
triadic
#121A41 #41121A #1A4112
tetradic
#121A41 #411232 #413912 #124122
square
#121A41 #411232 #413912 #124122
split-complementary
#121A41 #412212 #324112
monochromatic
#070A18 #070A18 #121A41 #1F2D71 #2D40A1

Accessibility & contrast

On white

16.80
#121A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A41
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A41#FFFFFF#000000##FFFFFF
##121A411.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F42
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121a41;
/* rgb */ color: rgb(18, 26, 65);
/* oklch */ color: oklch(23.6% 0.075 270.9);
Tailwind
colors: {
  custom: {
    50: '#565676',
    500: '#121a41',
    950: '#000000',
  },
}
SCSS
$custom: #121a41;
$custom-light: #565676;
$custom-dark: #000000;
JSON
{
  "hex": "#121a41",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 229.787,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23633,
    "c": 0.07453,
    "h": 270.9
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#121A41
secondary
#7A6E35
accent
#C648E0
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121A41

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

Preview Lab → · Contrast checker → · Palette generator →

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