#121674#121674

#121674 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.154 H 269.6°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#121674
RGBrgb(18, 22, 116)
HSLhsl(238, 73%, 26%)
HSVhsv(238, 84%, 45%)
CMYKcmyk(84.5%, 81%, 0%, 54.5%)
CIE-LABlab(15.29, 34.39, -53.12)
CIE-LCHlch(15.29, 63.28, 302.92°)
OKLaboklab(28.44% -0.0009 -0.1539)
OKLCHoklch(28.44% 0.154 269.6)
XYZxyz(3.6877, 1.9629, 16.7041)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121674 #747012
analogous
#124774 #121674 #3F1274
triadic
#121674 #741216 #167412
tetradic
#121674 #741247 #747012 #12743F
square
#121674 #741247 #747012 #12743F
split-complementary
#121674 #743F12 #477412
monochromatic
#04051A #0A0C3F #121674 #1A20A9 #232BDD

Accessibility & contrast

On white

15.08
#121674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#121674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121674
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121674#FFFFFF#000000##FFFFFF
##1216741.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121674;
/* rgb */ color: rgb(18, 22, 116);
/* oklch */ color: oklch(28.4% 0.154 269.6);
Tailwind
colors: {
  custom: {
    50: '#65559d',
    500: '#121674',
    950: '#000000',
  },
}
SCSS
$custom: #121674;
$custom-light: #65559d;
$custom-dark: #000000;
JSON
{
  "hex": "#121674",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 237.551,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28441,
    "c": 0.15386,
    "h": 269.6
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#121674
secondary
#ABA637
accent
#E838F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121674

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

Preview Lab → · Contrast checker → · Palette generator →

#121674 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva