#121E41#121E41

#121E41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.068 H 267.1°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#121E41
RGBrgb(18, 30, 65)
HSLhsl(225, 57%, 16%)
HSVhsv(225, 72%, 25%)
CMYKcmyk(72.3%, 53.8%, 0%, 74.5%)
CIE-LABlab(12.21, 8.32, -23.87)
CIE-LCHlch(12.21, 25.28, 289.21°)
OKLaboklab(24.62% -0.0035 -0.0683)
OKLCHoklch(24.62% 0.068 267.1)
XYZxyz(1.6675, 1.4386, 5.1898)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E41 #413512
analogous
#123641 #121E41 #1E1241
triadic
#121E41 #41121E #1E4112
tetradic
#121E41 #411236 #413512 #12411E
square
#121E41 #411236 #413512 #12411E
split-complementary
#121E41 #411E12 #364112
monochromatic
#070B18 #070B18 #121E41 #1F3471 #2D4AA1

Accessibility & contrast

On white

16.31
#121E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E41
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E41#FFFFFF#000000##FFFFFF
##121E411.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2242
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121e41;
/* rgb */ color: rgb(18, 30, 65);
/* oklch */ color: oklch(24.6% 0.068 267.1);
Tailwind
colors: {
  custom: {
    50: '#565976',
    500: '#121e41',
    950: '#000000',
  },
}
SCSS
$custom: #121e41;
$custom-light: #565976;
$custom-dark: #000000;
JSON
{
  "hex": "#121e41",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 224.681,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24618,
    "c": 0.06838,
    "h": 267.1
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#121E41
secondary
#7A6835
accent
#B948E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121E41

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

Preview Lab → · Contrast checker → · Palette generator →

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