#121F66#121F66

#121F66 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.4% C 0.125 H 268.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#121F66
RGBrgb(18, 31, 102)
HSLhsl(231, 70%, 24%)
HSVhsv(231, 82%, 40%)
CMYKcmyk(82.4%, 69.6%, 0%, 60%)
CIE-LABlab(15.84, 23.15, -43.09)
CIE-LCHlch(15.84, 48.91, 298.25°)
OKLaboklab(28.36% -0.0031 -0.1247)
OKLCHoklch(28.36% 0.125 268.6)
XYZxyz(3.1369, 2.0675, 12.8015)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F66 #665912
analogous
#124966 #121F66 #2F1266
triadic
#121F66 #66121F #1F6612
tetradic
#121F66 #661249 #665912 #12662F
square
#121F66 #661249 #665912 #12662F
split-complementary
#121F66 #662F12 #496612
monochromatic
#05081A #090F32 #121F66 #1B2F9A #243FCE

Accessibility & contrast

On white

14.86
#121F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#121F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F66
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F66#FFFFFF#000000##FFFFFF
##121F661.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121f66;
/* rgb */ color: rgb(18, 31, 102);
/* oklch */ color: oklch(28.4% 0.125 268.6);
Tailwind
colors: {
  custom: {
    50: '#605a92',
    500: '#121f66',
    950: '#000000',
  },
}
SCSS
$custom: #121f66;
$custom-light: #605a92;
$custom-dark: #000000;
JSON
{
  "hex": "#121f66",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 230.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28364,
    "c": 0.12474,
    "h": 268.6
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#121F66
secondary
#9E8E36
accent
#D13BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #121F66

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

Preview Lab → · Contrast checker → · Palette generator →

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