#121D59#121D59

#121D59 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.108 H 269.4°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#121D59
RGBrgb(18, 29, 89)
HSLhsl(231, 66%, 21%)
HSVhsv(231, 80%, 35%)
CMYKcmyk(79.8%, 67.4%, 0%, 65.1%)
CIE-LABlab(13.99, 19.25, -37.47)
CIE-LCHlch(13.99, 42.12, 297.20°)
OKLaboklab(26.61% -0.0011 -0.1083)
OKLCHoklch(26.61% 0.108 269.4)
XYZxyz(2.4914, 1.7283, 9.6516)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D59 #594E12
analogous
#124059 #121D59 #2A1259
triadic
#121D59 #59121D #1D5912
tetradic
#121D59 #591240 #594E12 #12592A
square
#121D59 #591240 #594E12 #12592A
split-complementary
#121D59 #592A12 #405912
monochromatic
#050819 #080C26 #121D59 #1C2E8C #273EBF

Accessibility & contrast

On white

15.60
#121D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#121D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D59
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D59#FFFFFF#000000##FFFFFF
##121D591.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121d59;
/* rgb */ color: rgb(18, 29, 89);
/* oklch */ color: oklch(26.6% 0.108 269.4);
Tailwind
colors: {
  custom: {
    50: '#5c5889',
    500: '#121d59',
    950: '#000000',
  },
}
SCSS
$custom: #121d59;
$custom-light: #5c5889;
$custom-dark: #000000;
JSON
{
  "hex": "#121d59",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 230.704,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26609,
    "c": 0.10827,
    "h": 269.4
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#121D59
secondary
#928335
accent
#CF3FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #121D59

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

Preview Lab → · Contrast checker → · Palette generator →

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