#121A52#121A52

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

Color values

HEX#121A52
RGBrgb(18, 26, 82)
HSLhsl(233, 64%, 20%)
HSVhsv(233, 78%, 32%)
CMYKcmyk(78%, 68.3%, 0%, 67.8%)
CIE-LABlab(12.46, 18.56, -35.23)
CIE-LCHlch(12.46, 39.82, 297.77°)
OKLaboklab(25.27% 0.0015 -0.1017)
OKLCHoklch(25.27% 0.102 270.8)
XYZxyz(2.1413, 1.4764, 8.1531)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A52 #524A12
analogous
#123A52 #121A52 #2A1252
triadic
#121A52 #52121A #1A5212
tetradic
#121A52 #52123A #524A12 #12522A
square
#121A52 #52123A #524A12 #12522A
split-complementary
#121A52 #522A12 #3A5212
monochromatic
#060819 #070A20 #121A52 #1D2A84 #283AB6

Accessibility & contrast

On white

16.21
#121A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A52
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A52#FFFFFF#000000##FFFFFF
##121A521.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121a52;
/* rgb */ color: rgb(18, 26, 82);
/* oklch */ color: oklch(25.3% 0.102 270.8);
Tailwind
colors: {
  custom: {
    50: '#5b5683',
    500: '#121a52',
    950: '#000000',
  },
}
SCSS
$custom: #121a52;
$custom-light: #5b5683;
$custom-dark: #000000;
JSON
{
  "hex": "#121a52",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 232.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25267,
    "c": 0.10176,
    "h": 270.8
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#121A52
secondary
#8B8035
accent
#D241E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121A52

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

Preview Lab → · Contrast checker → · Palette generator →

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