#121A55#121A55

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

Color values

HEX#121A55
RGBrgb(18, 26, 85)
HSLhsl(233, 65%, 20%)
HSVhsv(233, 79%, 33%)
CMYKcmyk(78.8%, 69.4%, 0%, 66.7%)
CIE-LABlab(12.75, 19.80, -36.79)
CIE-LCHlch(12.75, 41.78, 298.29°)
OKLaboklab(25.58% 0.0013 -0.1063)
OKLCHoklch(25.58% 0.106 270.7)
XYZxyz(2.2580, 1.5230, 8.7675)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A55 #554D12
analogous
#123B55 #121A55 #2B1255
triadic
#121A55 #55121A #1A5512
tetradic
#121A55 #55123B #554D12 #12552B
square
#121A55 #55123B #554D12 #12552B
split-complementary
#121A55 #552B12 #3B5512
monochromatic
#050819 #070B22 #121A55 #1D2988 #2739BA

Accessibility & contrast

On white

16.10
#121A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A55
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A55#FFFFFF#000000##FFFFFF
##121A551.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121a55;
/* rgb */ color: rgb(18, 26, 85);
/* oklch */ color: oklch(25.6% 0.106 270.7);
Tailwind
colors: {
  custom: {
    50: '#5c5686',
    500: '#121a55',
    950: '#000000',
  },
}
SCSS
$custom: #121a55;
$custom-light: #5c5686;
$custom-dark: #000000;
JSON
{
  "hex": "#121a55",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 232.836,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25576,
    "c": 0.10632,
    "h": 270.7
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#121A55
secondary
#8E8335
accent
#D440E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121A55

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

Preview Lab → · Contrast checker → · Palette generator →

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