#121C68#121C68

#121C68 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.0% C 0.131 H 269.3°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#121C68
RGBrgb(18, 28, 104)
HSLhsl(233, 70%, 24%)
HSVhsv(233, 83%, 41%)
CMYKcmyk(82.7%, 73.1%, 0%, 59.2%)
CIE-LABlab(15.27, 26.05, -45.34)
CIE-LCHlch(15.27, 52.29, 299.88°)
OKLaboklab(28.01% -0.0016 -0.1313)
OKLCHoklch(28.01% 0.131 269.3)
XYZxyz(3.1625, 1.9582, 13.3053)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C68 #685E12
analogous
#124768 #121C68 #331268
triadic
#121C68 #68121C #1C6812
tetradic
#121C68 #681247 #685E12 #126833
square
#121C68 #681247 #685E12 #126833
split-complementary
#121C68 #683312 #476812
monochromatic
#05071A #090E34 #121C68 #1B2A9C #2438D0

Accessibility & contrast

On white

15.09
#121C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#121C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C68
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C68#FFFFFF#000000##FFFFFF
##121C681.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121c68;
/* rgb */ color: rgb(18, 28, 104);
/* oklch */ color: oklch(28.0% 0.131 269.3);
Tailwind
colors: {
  custom: {
    50: '#615894',
    500: '#121c68',
    950: '#000000',
  },
}
SCSS
$custom: #121c68;
$custom-light: #615894;
$custom-dark: #000000;
JSON
{
  "hex": "#121c68",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 233.023,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28011,
    "c": 0.1313,
    "h": 269.3
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#121C68
secondary
#A09336
accent
#D83BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121C68

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

Preview Lab → · Contrast checker → · Palette generator →

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