#121D66#121D66

#121D66 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.0% C 0.127 H 269.1°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#121D66
RGBrgb(18, 29, 102)
HSLhsl(232, 70%, 24%)
HSVhsv(232, 82%, 40%)
CMYKcmyk(82.4%, 71.6%, 0%, 60%)
CIE-LABlab(15.31, 24.56, -43.95)
CIE-LCHlch(15.31, 50.35, 299.20°)
OKLaboklab(27.98% -0.0019 -0.1272)
OKLCHoklch(27.98% 0.127 269.1)
XYZxyz(3.0863, 1.9663, 12.7847)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D66 #665B12
analogous
#124766 #121D66 #311266
triadic
#121D66 #66121D #1D6612
tetradic
#121D66 #661247 #665B12 #126631
square
#121D66 #661247 #665B12 #126631
split-complementary
#121D66 #663112 #476612
monochromatic
#05071A #090E32 #121D66 #1B2C9A #243BCE

Accessibility & contrast

On white

15.07
#121D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#121D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D66
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D66#FFFFFF#000000##FFFFFF
##121D661.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121d66;
/* rgb */ color: rgb(18, 29, 102);
/* oklch */ color: oklch(28.0% 0.127 269.1);
Tailwind
colors: {
  custom: {
    50: '#605992',
    500: '#121d66',
    950: '#000000',
  },
}
SCSS
$custom: #121d66;
$custom-light: #605992;
$custom-dark: #000000;
JSON
{
  "hex": "#121d66",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 232.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27978,
    "c": 0.12726,
    "h": 269.1
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#121D66
secondary
#9E9036
accent
#D63BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121D66

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

Preview Lab → · Contrast checker → · Palette generator →

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