#121F68#121F68

#121F68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.128 H 268.5°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#121F68
RGBrgb(18, 31, 104)
HSLhsl(231, 70%, 24%)
HSVhsv(231, 83%, 41%)
CMYKcmyk(82.7%, 70.2%, 0%, 59.2%)
CIE-LABlab(16.04, 23.96, -44.06)
CIE-LCHlch(16.04, 50.16, 298.54°)
OKLaboklab(28.58% -0.0032 -0.1276)
OKLCHoklch(28.58% 0.128 268.5)
XYZxyz(3.2373, 2.1077, 13.3302)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F68 #685B12
analogous
#124A68 #121F68 #301268
triadic
#121F68 #68121F #1F6812
tetradic
#121F68 #68124A #685B12 #126830
square
#121F68 #68124A #685B12 #126830
split-complementary
#121F68 #683012 #4A6812
monochromatic
#05081A #090F34 #121F68 #1B2F9C #243ED0

Accessibility & contrast

On white

14.77
#121F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#121F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F68
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F68#FFFFFF#000000##FFFFFF
##121F681.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121f68;
/* rgb */ color: rgb(18, 31, 104);
/* oklch */ color: oklch(28.6% 0.128 268.5);
Tailwind
colors: {
  custom: {
    50: '#615a94',
    500: '#121f68',
    950: '#000000',
  },
}
SCSS
$custom: #121f68;
$custom-light: #615a94;
$custom-dark: #000000;
JSON
{
  "hex": "#121f68",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 230.93,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28576,
    "c": 0.1276,
    "h": 268.5
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#121F68
secondary
#A09036
accent
#D23BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #121F68

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

Preview Lab → · Contrast checker → · Palette generator →

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