#121A5D#121A5D

#121A5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.118 H 270.3°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#121A5D
RGBrgb(18, 26, 93)
HSLhsl(234, 68%, 22%)
HSVhsv(234, 81%, 36%)
CMYKcmyk(80.6%, 72%, 0%, 63.5%)
CIE-LABlab(13.58, 23.06, -40.83)
CIE-LCHlch(13.58, 46.89, 299.45°)
OKLaboklab(26.43% 0.0007 -0.1181)
OKLCHoklch(26.43% 0.118 270.3)
XYZxyz(2.5940, 1.6574, 10.5370)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A5D #5D5512
analogous
#12405D #121A5D #30125D
triadic
#121A5D #5D121A #1A5D12
tetradic
#121A5D #5D1240 #5D5512 #125D30
square
#121A5D #5D1240 #5D5512 #125D30
split-complementary
#121A5D #5D3012 #405D12
monochromatic
#05071A #080C2A #121A5D #1C2890 #2637C4

Accessibility & contrast

On white

15.77
#121A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#121A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A5D
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A5D#FFFFFF#000000##FFFFFF
##121A5D1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121a5d;
/* rgb */ color: rgb(18, 26, 93);
/* oklch */ color: oklch(26.4% 0.118 270.3);
Tailwind
colors: {
  custom: {
    50: '#5e568c',
    500: '#121a5d',
    950: '#000000',
  },
}
SCSS
$custom: #121a5d;
$custom-light: #5e568c;
$custom-dark: #000000;
JSON
{
  "hex": "#121a5d",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 233.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26429,
    "c": 0.11813,
    "h": 270.3
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#121A5D
secondary
#958B35
accent
#D83DEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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