#121B66#121B66

#121B66 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.6% C 0.130 H 269.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#121B66
RGBrgb(18, 27, 102)
HSLhsl(234, 70%, 24%)
HSVhsv(234, 82%, 40%)
CMYKcmyk(82.4%, 73.5%, 0%, 60%)
CIE-LABlab(14.80, 25.95, -44.80)
CIE-LCHlch(14.80, 51.77, 300.08°)
OKLaboklab(27.61% -0.0008 -0.1297)
OKLCHoklch(27.61% 0.13 269.6)
XYZxyz(3.0388, 1.8714, 12.7689)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B66 #665D12
analogous
#124566 #121B66 #331266
triadic
#121B66 #66121B #1B6612
tetradic
#121B66 #661245 #665D12 #126633
square
#121B66 #661245 #665D12 #126633
split-complementary
#121B66 #663312 #456612
monochromatic
#05071A #090D32 #121B66 #1B299A #2437CE

Accessibility & contrast

On white

15.28
#121B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B66
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B66#FFFFFF#000000##FFFFFF
##121B661.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121b66;
/* rgb */ color: rgb(18, 27, 102);
/* oklch */ color: oklch(27.6% 0.130 269.6);
Tailwind
colors: {
  custom: {
    50: '#605793',
    500: '#121b66',
    950: '#000000',
  },
}
SCSS
$custom: #121b66;
$custom-light: #605793;
$custom-dark: #000000;
JSON
{
  "hex": "#121b66",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 233.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27607,
    "c": 0.12971,
    "h": 269.6
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#121B66
secondary
#9E9336
accent
#DA3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121B66

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

Preview Lab → · Contrast checker → · Palette generator →

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