#121C53#121C53

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

Color values

HEX#121C53
RGBrgb(18, 28, 83)
HSLhsl(231, 64%, 20%)
HSVhsv(231, 78%, 33%)
CMYKcmyk(78.3%, 66.3%, 0%, 67.5%)
CIE-LABlab(13.13, 17.49, -34.82)
CIE-LCHlch(13.13, 38.96, 296.67°)
OKLaboklab(25.79% -0.0002 -0.1005)
OKLCHoklch(25.79% 0.101 269.9)
XYZxyz(2.2255, 1.5834, 8.3703)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C53 #534912
analogous
#123D53 #121C53 #281253
triadic
#121C53 #53121C #1C5312
tetradic
#121C53 #53123D #534912 #125328
square
#121C53 #53123D #534912 #125328
split-complementary
#121C53 #532812 #3D5312
monochromatic
#050819 #070B21 #121C53 #1D2D85 #283EB8

Accessibility & contrast

On white

15.95
#121C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C53
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C53#FFFFFF#000000##FFFFFF
##121C531.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121c53;
/* rgb */ color: rgb(18, 28, 83);
/* oklch */ color: oklch(25.8% 0.101 269.9);
Tailwind
colors: {
  custom: {
    50: '#5b5784',
    500: '#121c53',
    950: '#000000',
  },
}
SCSS
$custom: #121c53;
$custom-light: #5b5784;
$custom-dark: #000000;
JSON
{
  "hex": "#121c53",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 230.769,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25793,
    "c": 0.10051,
    "h": 269.9
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#121C53
secondary
#8C7E35
accent
#CE40E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121C53

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

Preview Lab → · Contrast checker → · Palette generator →

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