#121D57#121D57

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

Color values

HEX#121D57
RGBrgb(18, 29, 87)
HSLhsl(230, 66%, 21%)
HSVhsv(230, 79%, 34%)
CMYKcmyk(79.3%, 66.7%, 0%, 65.9%)
CIE-LABlab(13.80, 18.42, -36.43)
CIE-LCHlch(13.80, 40.82, 296.82°)
OKLaboklab(26.41% -0.0011 -0.1052)
OKLCHoklch(26.41% 0.105 269.4)
XYZxyz(2.4085, 1.6952, 9.2152)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D57 #574C12
analogous
#123F57 #121D57 #291257
triadic
#121D57 #57121D #1D5712
tetradic
#121D57 #57123F #574C12 #125729
square
#121D57 #57123F #574C12 #125729
split-complementary
#121D57 #572912 #3F5712
monochromatic
#050819 #080C24 #121D57 #1C2E8A #273FBC

Accessibility & contrast

On white

15.68
#121D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D57
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D57#FFFFFF#000000##FFFFFF
##121D571.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121d57;
/* rgb */ color: rgb(18, 29, 87);
/* oklch */ color: oklch(26.4% 0.105 269.4);
Tailwind
colors: {
  custom: {
    50: '#5c5887',
    500: '#121d57',
    950: '#000000',
  },
}
SCSS
$custom: #121d57;
$custom-light: #5c5887;
$custom-dark: #000000;
JSON
{
  "hex": "#121d57",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 230.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26407,
    "c": 0.10525,
    "h": 269.4
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#121D57
secondary
#908135
accent
#CE3FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #121D57

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

Preview Lab → · Contrast checker → · Palette generator →

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