#121D64#121D64

#121D64 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.124 H 269.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#121D64
RGBrgb(18, 29, 100)
HSLhsl(232, 69%, 23%)
HSVhsv(232, 82%, 39%)
CMYKcmyk(82%, 71%, 0%, 60.8%)
CIE-LABlab(15.10, 23.76, -42.98)
CIE-LCHlch(15.10, 49.11, 298.93°)
OKLaboklab(27.76% -0.0018 -0.1244)
OKLCHoklch(27.76% 0.124 269.2)
XYZxyz(2.9883, 1.9271, 12.2686)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D64 #645912
analogous
#124664 #121D64 #301264
triadic
#121D64 #64121D #1D6412
tetradic
#121D64 #641246 #645912 #126430
square
#121D64 #641246 #645912 #126430
split-complementary
#121D64 #643012 #466412
monochromatic
#05081A #090E30 #121D64 #1B2C98 #253BCC

Accessibility & contrast

On white

15.16
#121D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D64
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D64#FFFFFF#000000##FFFFFF
##121D641.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121d64;
/* rgb */ color: rgb(18, 29, 100);
/* oklch */ color: oklch(27.8% 0.124 269.2);
Tailwind
colors: {
  custom: {
    50: '#605991',
    500: '#121d64',
    950: '#000000',
  },
}
SCSS
$custom: #121d64;
$custom-light: #605991;
$custom-dark: #000000;
JSON
{
  "hex": "#121d64",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 231.951,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.12441,
    "h": 269.2
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#121D64
secondary
#9C8E36
accent
#D53BEC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05030D
muted
#79787E

Preview Lab

Preview with #121D64

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

Preview Lab → · Contrast checker → · Palette generator →

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