#121E5D#121E5D

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

Color values

HEX#121E5D
RGBrgb(18, 30, 93)
HSLhsl(230, 68%, 22%)
HSVhsv(230, 81%, 36%)
CMYKcmyk(80.6%, 67.7%, 0%, 63.5%)
CIE-LABlab(14.66, 20.18, -39.05)
CIE-LCHlch(14.66, 43.95, 297.33°)
OKLaboklab(27.23% -0.002 -0.1129)
OKLCHoklch(27.23% 0.113 269)
XYZxyz(2.6888, 1.8472, 10.5686)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E5D #5D5112
analogous
#12445D #121E5D #2C125D
triadic
#121E5D #5D121E #1E5D12
tetradic
#121E5D #5D1244 #5D5112 #125D2C
square
#121E5D #5D1244 #5D5112 #125D2C
split-complementary
#121E5D #5D2C12 #445D12
monochromatic
#05081A #080D2A #121E5D #1C2F90 #263FC4

Accessibility & contrast

On white

15.34
#121E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#121E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E5D
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E5D#FFFFFF#000000##FFFFFF
##121E5D1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121e5d;
/* rgb */ color: rgb(18, 30, 93);
/* oklch */ color: oklch(27.2% 0.113 269.0);
Tailwind
colors: {
  custom: {
    50: '#5d598c',
    500: '#121e5d',
    950: '#000000',
  },
}
SCSS
$custom: #121e5d;
$custom-light: #5d598c;
$custom-dark: #000000;
JSON
{
  "hex": "#121e5d",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 230.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27225,
    "c": 0.1129,
    "h": 269
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#121E5D
secondary
#958635
accent
#CF3DEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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