#121A56#121A56

#121A56 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.108 H 270.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#121A56
RGBrgb(18, 26, 86)
HSLhsl(233, 65%, 20%)
HSVhsv(233, 79%, 34%)
CMYKcmyk(79.1%, 69.8%, 0%, 66.3%)
CIE-LABlab(12.85, 20.21, -37.30)
CIE-LCHlch(12.85, 42.43, 298.45°)
OKLaboklab(25.68% 0.0013 -0.1078)
OKLCHoklch(25.68% 0.108 270.7)
XYZxyz(2.2980, 1.5390, 8.9782)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A56 #564E12
analogous
#123C56 #121A56 #2C1256
triadic
#121A56 #56121A #1A5612
tetradic
#121A56 #56123C #564E12 #12562C
square
#121A56 #56123C #564E12 #12562C
split-complementary
#121A56 #562C12 #3C5612
monochromatic
#050819 #070B23 #121A56 #1D2989 #2739BB

Accessibility & contrast

On white

16.06
#121A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A56
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A56#FFFFFF#000000##FFFFFF
##121A561.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121a56;
/* rgb */ color: rgb(18, 26, 86);
/* oklch */ color: oklch(25.7% 0.108 270.7);
Tailwind
colors: {
  custom: {
    50: '#5c5686',
    500: '#121a56',
    950: '#000000',
  },
}
SCSS
$custom: #121a56;
$custom-light: #5c5686;
$custom-dark: #000000;
JSON
{
  "hex": "#121a56",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 232.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25681,
    "c": 0.10783,
    "h": 270.7
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#121A56
secondary
#8F8435
accent
#D43FE8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #121A56

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

Preview Lab → · Contrast checker → · Palette generator →

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