#121E53#121E53

#121E53 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.098 H 268.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#121E53
RGBrgb(18, 30, 83)
HSLhsl(229, 64%, 20%)
HSVhsv(229, 78%, 33%)
CMYKcmyk(78.3%, 63.9%, 0%, 67.5%)
CIE-LABlab(13.72, 15.99, -33.86)
CIE-LCHlch(13.72, 37.44, 295.28°)
OKLaboklab(26.23% -0.0019 -0.0977)
OKLCHoklch(26.23% 0.098 268.9)
XYZxyz(2.2745, 1.6814, 8.3866)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E53 #534712
analogous
#123F53 #121E53 #271253
triadic
#121E53 #53121E #1E5312
tetradic
#121E53 #53123F #534712 #125327
square
#121E53 #53123F #534712 #125327
split-complementary
#121E53 #532712 #3F5312
monochromatic
#050919 #070C21 #121E53 #1D3085 #2842B8

Accessibility & contrast

On white

15.71
#121E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E53
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E53#FFFFFF#000000##FFFFFF
##121E531.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121e53;
/* rgb */ color: rgb(18, 30, 83);
/* oklch */ color: oklch(26.2% 0.098 268.9);
Tailwind
colors: {
  custom: {
    50: '#5b5984',
    500: '#121e53',
    950: '#000000',
  },
}
SCSS
$custom: #121e53;
$custom-light: #5b5984;
$custom-dark: #000000;
JSON
{
  "hex": "#121e53",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 228.923,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26231,
    "c": 0.09768,
    "h": 268.9
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#121E53
secondary
#8C7C35
accent
#C940E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121E53

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

Preview Lab → · Contrast checker → · Palette generator →

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