#121E5B#121E5B

#121E5B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.110 H 269.0°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#121E5B
RGBrgb(18, 30, 91)
HSLhsl(230, 67%, 21%)
HSVhsv(230, 80%, 36%)
CMYKcmyk(80.2%, 67%, 0%, 64.3%)
CIE-LABlab(14.47, 19.35, -38.03)
CIE-LCHlch(14.47, 42.67, 296.97°)
OKLaboklab(27.02% -0.0019 -0.1099)
OKLCHoklch(27.02% 0.11 269)
XYZxyz(2.6014, 1.8122, 10.1082)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E5B #5B4F12
analogous
#12435B #121E5B #2B125B
triadic
#121E5B #5B121E #1E5B12
tetradic
#121E5B #5B1243 #5B4F12 #125B2B
square
#121E5B #5B1243 #5B4F12 #125B2B
split-complementary
#121E5B #5B2B12 #435B12
monochromatic
#05081A #080D28 #121E5B #1C2F8E #2640C1

Accessibility & contrast

On white

15.41
#121E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E5B
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E5B#FFFFFF#000000##FFFFFF
##121E5B1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121e5b;
/* rgb */ color: rgb(18, 30, 91);
/* oklch */ color: oklch(27.0% 0.110 269.0);
Tailwind
colors: {
  custom: {
    50: '#5d598a',
    500: '#121e5b',
    950: '#000000',
  },
}
SCSS
$custom: #121e5b;
$custom-light: #5d598a;
$custom-dark: #000000;
JSON
{
  "hex": "#121e5b",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 230.137,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27022,
    "c": 0.10992,
    "h": 269
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#121E5B
secondary
#938435
accent
#CE3EEA
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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