#121D55#121D55

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

Color values

HEX#121D55
RGBrgb(18, 29, 85)
HSLhsl(230, 65%, 20%)
HSVhsv(230, 79%, 33%)
CMYKcmyk(78.8%, 65.9%, 0%, 66.7%)
CIE-LABlab(13.61, 17.58, -35.39)
CIE-LCHlch(13.61, 39.52, 296.41°)
OKLaboklab(26.21% -0.001 -0.1022)
OKLCHoklch(26.21% 0.102 269.4)
XYZxyz(2.3279, 1.6630, 8.7909)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D55 #554A12
analogous
#123F55 #121D55 #281255
triadic
#121D55 #55121D #1D5512
tetradic
#121D55 #55123F #554A12 #125528
square
#121D55 #55123F #554A12 #125528
split-complementary
#121D55 #552812 #3F5512
monochromatic
#050919 #070C22 #121D55 #1D2E88 #273FBA

Accessibility & contrast

On white

15.76
#121D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#121D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D55
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D55#FFFFFF#000000##FFFFFF
##121D551.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121d55;
/* rgb */ color: rgb(18, 29, 85);
/* oklch */ color: oklch(26.2% 0.102 269.4);
Tailwind
colors: {
  custom: {
    50: '#5b5885',
    500: '#121d55',
    950: '#000000',
  },
}
SCSS
$custom: #121d55;
$custom-light: #5b5885;
$custom-dark: #000000;
JSON
{
  "hex": "#121d55",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 230.149,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26207,
    "c": 0.10219,
    "h": 269.4
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#121D55
secondary
#8E7F35
accent
#CC40E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121D55

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

Preview Lab → · Contrast checker → · Palette generator →

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