#121C59#121C59

#121C59 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.110 H 269.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#121C59
RGBrgb(18, 28, 89)
HSLhsl(232, 66%, 21%)
HSVhsv(232, 80%, 35%)
CMYKcmyk(79.8%, 68.5%, 0%, 65.1%)
CIE-LABlab(13.71, 19.99, -37.93)
CIE-LCHlch(13.71, 42.87, 297.79°)
OKLaboklab(26.4% -0.0004 -0.1096)
OKLCHoklch(26.4% 0.11 269.8)
XYZxyz(2.4673, 1.6801, 9.6435)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C59 #594F12
analogous
#123F59 #121C59 #2B1259
triadic
#121C59 #59121C #1C5912
tetradic
#121C59 #59123F #594F12 #12592B
square
#121C59 #59123F #594F12 #12592B
split-complementary
#121C59 #592B12 #3F5912
monochromatic
#050819 #080C26 #121C59 #1C2C8C #273CBF

Accessibility & contrast

On white

15.72
#121C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C59
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C59#FFFFFF#000000##FFFFFF
##121C591.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121c59;
/* rgb */ color: rgb(18, 28, 89);
/* oklch */ color: oklch(26.4% 0.110 269.8);
Tailwind
colors: {
  custom: {
    50: '#5d5889',
    500: '#121c59',
    950: '#000000',
  },
}
SCSS
$custom: #121c59;
$custom-light: #5d5889;
$custom-dark: #000000;
JSON
{
  "hex": "#121c59",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 231.549,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26402,
    "c": 0.10962,
    "h": 269.8
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#121C59
secondary
#928535
accent
#D13FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #121C59

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

Preview Lab → · Contrast checker → · Palette generator →

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