#121C55#121C55

#121C55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.104 H 269.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#121C55
RGBrgb(18, 28, 85)
HSLhsl(231, 65%, 20%)
HSVhsv(231, 79%, 33%)
CMYKcmyk(78.8%, 67.1%, 0%, 66.7%)
CIE-LABlab(13.32, 18.32, -35.86)
CIE-LCHlch(13.32, 40.27, 297.06°)
OKLaboklab(25.99% -0.0002 -0.1036)
OKLCHoklch(25.99% 0.104 269.9)
XYZxyz(2.3038, 1.6147, 8.7828)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C55 #554B12
analogous
#123D55 #121C55 #2A1255
triadic
#121C55 #55121C #1C5512
tetradic
#121C55 #55123D #554B12 #12552A
square
#121C55 #55123D #554B12 #12552A
split-complementary
#121C55 #552A12 #3D5512
monochromatic
#050819 #070B22 #121C55 #1D2D88 #273DBA

Accessibility & contrast

On white

15.87
#121C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C55
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C55#FFFFFF#000000##FFFFFF
##121C551.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121c55;
/* rgb */ color: rgb(18, 28, 85);
/* oklch */ color: oklch(26.0% 0.104 269.9);
Tailwind
colors: {
  custom: {
    50: '#5b5885',
    500: '#121c55',
    950: '#000000',
  },
}
SCSS
$custom: #121c55;
$custom-light: #5b5885;
$custom-dark: #000000;
JSON
{
  "hex": "#121c55",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 231.045,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25993,
    "c": 0.10358,
    "h": 269.9
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#121C55
secondary
#8E8135
accent
#CF40E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121C55

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

Preview Lab → · Contrast checker → · Palette generator →

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