#121E5E#121E5E

#121E5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.114 H 269.0°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#121E5E
RGBrgb(18, 30, 94)
HSLhsl(231, 68%, 22%)
HSVhsv(231, 81%, 37%)
CMYKcmyk(80.9%, 68.1%, 0%, 63.1%)
CIE-LABlab(14.76, 20.59, -39.55)
CIE-LCHlch(14.76, 44.59, 297.50°)
OKLaboklab(27.33% -0.002 -0.1144)
OKLCHoklch(27.33% 0.114 269)
XYZxyz(2.7334, 1.8650, 10.8034)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E5E #5E5212
analogous
#12445E #121E5E #2C125E
triadic
#121E5E #5E121E #1E5E12
tetradic
#121E5E #5E1244 #5E5212 #125E2C
square
#121E5E #5E1244 #5E5212 #125E2C
split-complementary
#121E5E #5E2C12 #445E12
monochromatic
#05081A #080E2B #121E5E #1C2E91 #263FC5

Accessibility & contrast

On white

15.29
#121E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E5E
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E5E#FFFFFF#000000##FFFFFF
##121E5E1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121e5e;
/* rgb */ color: rgb(18, 30, 94);
/* oklch */ color: oklch(27.3% 0.114 269.0);
Tailwind
colors: {
  custom: {
    50: '#5e598c',
    500: '#121e5e',
    950: '#000000',
  },
}
SCSS
$custom: #121e5e;
$custom-light: #5e598c;
$custom-dark: #000000;
JSON
{
  "hex": "#121e5e",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 230.526,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27328,
    "c": 0.11439,
    "h": 269
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#121E5E
secondary
#968735
accent
#CF3DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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