#121D53#121D53

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

Color values

HEX#121D53
RGBrgb(18, 29, 83)
HSLhsl(230, 64%, 20%)
HSVhsv(230, 78%, 33%)
CMYKcmyk(78.3%, 65.1%, 0%, 67.5%)
CIE-LABlab(13.42, 16.74, -34.34)
CIE-LCHlch(13.42, 38.20, 295.99°)
OKLaboklab(26.01% -0.001 -0.0991)
OKLCHoklch(26.01% 0.099 269.4)
XYZxyz(2.2496, 1.6316, 8.3783)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D53 #534812
analogous
#123E53 #121D53 #281253
triadic
#121D53 #53121D #1D5312
tetradic
#121D53 #53123E #534812 #125328
square
#121D53 #53123E #534812 #125328
split-complementary
#121D53 #532812 #3E5312
monochromatic
#050919 #070B21 #121D53 #1D2F85 #2840B8

Accessibility & contrast

On white

15.83
#121D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D53
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D53#FFFFFF#000000##FFFFFF
##121D531.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121d53;
/* rgb */ color: rgb(18, 29, 83);
/* oklch */ color: oklch(26.0% 0.099 269.4);
Tailwind
colors: {
  custom: {
    50: '#5b5884',
    500: '#121d53',
    950: '#000000',
  },
}
SCSS
$custom: #121d53;
$custom-light: #5b5884;
$custom-dark: #000000;
JSON
{
  "hex": "#121d53",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 229.846,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2601,
    "c": 0.09911,
    "h": 269.4
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#121D53
secondary
#8C7D35
accent
#CB40E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121D53

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

Preview Lab → · Contrast checker → · Palette generator →

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