#121A53#121A53

#121A53 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.103 H 270.8°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#121A53
RGBrgb(18, 26, 83)
HSLhsl(233, 64%, 20%)
HSVhsv(233, 78%, 33%)
CMYKcmyk(78.3%, 68.7%, 0%, 67.5%)
CIE-LABlab(12.56, 18.97, -35.76)
CIE-LCHlch(12.56, 40.48, 297.95°)
OKLaboklab(25.37% 0.0014 -0.1033)
OKLCHoklch(25.37% 0.103 270.8)
XYZxyz(2.1797, 1.4917, 8.3550)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A53 #534B12
analogous
#123B53 #121A53 #2A1253
triadic
#121A53 #53121A #1A5312
tetradic
#121A53 #53123B #534B12 #12532A
square
#121A53 #53123B #534B12 #12532A
split-complementary
#121A53 #532A12 #3B5312
monochromatic
#050819 #070A21 #121A53 #1D2A85 #283AB8

Accessibility & contrast

On white

16.17
#121A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A53
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A53#FFFFFF#000000##FFFFFF
##121A531.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121a53;
/* rgb */ color: rgb(18, 26, 83);
/* oklch */ color: oklch(25.4% 0.103 270.8);
Tailwind
colors: {
  custom: {
    50: '#5b5684',
    500: '#121a53',
    950: '#000000',
  },
}
SCSS
$custom: #121a53;
$custom-light: #5b5684;
$custom-dark: #000000;
JSON
{
  "hex": "#121a53",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 232.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25369,
    "c": 0.10329,
    "h": 270.8
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#121A53
secondary
#8C8135
accent
#D340E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121A53

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

Preview Lab → · Contrast checker → · Palette generator →

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