#121E59#121E59

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

Color values

HEX#121E59
RGBrgb(18, 30, 89)
HSLhsl(230, 66%, 21%)
HSVhsv(230, 80%, 35%)
CMYKcmyk(79.8%, 66.3%, 0%, 65.1%)
CIE-LABlab(14.28, 18.52, -37.00)
CIE-LCHlch(14.28, 41.37, 296.59°)
OKLaboklab(26.82% -0.0019 -0.1069)
OKLCHoklch(26.82% 0.107 269)
XYZxyz(2.5163, 1.7781, 9.6599)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E59 #594D12
analogous
#124159 #121E59 #291259
triadic
#121E59 #59121E #1E5912
tetradic
#121E59 #591241 #594D12 #125929
square
#121E59 #591241 #594D12 #125929
split-complementary
#121E59 #592912 #415912
monochromatic
#050919 #080D26 #121E59 #1C2F8C #2740BF

Accessibility & contrast

On white

15.49
#121E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E59
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E59#FFFFFF#000000##FFFFFF
##121E591.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121e59;
/* rgb */ color: rgb(18, 30, 89);
/* oklch */ color: oklch(26.8% 0.107 269.0);
Tailwind
colors: {
  custom: {
    50: '#5c5988',
    500: '#121e59',
    950: '#000000',
  },
}
SCSS
$custom: #121e59;
$custom-light: #5c5988;
$custom-dark: #000000;
JSON
{
  "hex": "#121e59",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 229.859,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2682,
    "c": 0.1069,
    "h": 269
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#121E59
secondary
#928235
accent
#CC3FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #121E59

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

Preview Lab → · Contrast checker → · Palette generator →

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