#121A68#121A68

#121A68 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.134 H 269.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#121A68
RGBrgb(18, 26, 104)
HSLhsl(234, 70%, 24%)
HSVhsv(234, 83%, 41%)
CMYKcmyk(82.7%, 75%, 0%, 59.2%)
CIE-LABlab(14.77, 27.41, -46.16)
CIE-LCHlch(14.77, 53.68, 300.70°)
OKLaboklab(27.65% -0.0005 -0.1337)
OKLCHoklch(27.65% 0.134 269.8)
XYZxyz(3.1167, 1.8665, 13.2900)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A68 #686012
analogous
#124568 #121A68 #351268
triadic
#121A68 #68121A #1A6812
tetradic
#121A68 #681245 #686012 #126835
square
#121A68 #681245 #686012 #126835
split-complementary
#121A68 #683512 #456812
monochromatic
#05071A #090D34 #121A68 #1B279C #2434D0

Accessibility & contrast

On white

15.29
#121A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A68
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A68#FFFFFF#000000##FFFFFF
##121A681.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002167
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121a68;
/* rgb */ color: rgb(18, 26, 104);
/* oklch */ color: oklch(27.7% 0.134 269.8);
Tailwind
colors: {
  custom: {
    50: '#615794',
    500: '#121a68',
    950: '#000000',
  },
}
SCSS
$custom: #121a68;
$custom-light: #615794;
$custom-dark: #000000;
JSON
{
  "hex": "#121a68",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 234.419,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27653,
    "c": 0.13367,
    "h": 269.8
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#121A68
secondary
#A09636
accent
#DD3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121A68

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

Preview Lab → · Contrast checker → · Palette generator →

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