#121B64#121B64

#121B64 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.127 H 269.7°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#121B64
RGBrgb(18, 27, 100)
HSLhsl(233, 69%, 23%)
HSVhsv(233, 82%, 39%)
CMYKcmyk(82%, 73%, 0%, 60.8%)
CIE-LABlab(14.58, 25.15, -43.83)
CIE-LCHlch(14.58, 50.54, 299.85°)
OKLaboklab(27.39% -0.0006 -0.1269)
OKLCHoklch(27.39% 0.127 269.7)
XYZxyz(2.9408, 1.8322, 12.2528)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B64 #645B12
analogous
#124464 #121B64 #321264
triadic
#121B64 #64121B #1B6412
tetradic
#121B64 #641244 #645B12 #126432
square
#121B64 #641244 #645B12 #126432
split-complementary
#121B64 #643212 #446412
monochromatic
#05071A #090D30 #121B64 #1B2998 #2537CC

Accessibility & contrast

On white

15.37
#121B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#121B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B64
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B64#FFFFFF#000000##FFFFFF
##121B641.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121b64;
/* rgb */ color: rgb(18, 27, 100);
/* oklch */ color: oklch(27.4% 0.127 269.7);
Tailwind
colors: {
  custom: {
    50: '#605791',
    500: '#121b64',
    950: '#000000',
  },
}
SCSS
$custom: #121b64;
$custom-light: #605791;
$custom-dark: #000000;
JSON
{
  "hex": "#121b64",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 233.415,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27385,
    "c": 0.1269,
    "h": 269.7
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#121B64
secondary
#9C9136
accent
#D93BEC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05030D
muted
#79787E

Preview Lab

Preview with #121B64

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

Preview Lab → · Contrast checker → · Palette generator →

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