#121673#121673

#121673 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.153 H 269.7°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#121673
RGBrgb(18, 22, 115)
HSLhsl(238, 73%, 26%)
HSVhsv(238, 84%, 45%)
CMYKcmyk(84.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.17, 34.03, -52.67)
CIE-LCHlch(15.17, 62.71, 302.87°)
OKLaboklab(28.32% -0.0008 -0.1526)
OKLCHoklch(28.32% 0.153 269.7)
XYZxyz(3.6298, 1.9398, 16.3994)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121673 #736F12
analogous
#124673 #121673 #3E1273
triadic
#121673 #731216 #167312
tetradic
#121673 #731246 #736F12 #12733E
square
#121673 #731246 #736F12 #12733E
split-complementary
#121673 #733E12 #467312
monochromatic
#04051A #0A0C3E #121673 #1A20A8 #232BDD

Accessibility & contrast

On white

15.13
#121673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121673
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121673#FFFFFF#000000##FFFFFF
##1216731.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121673;
/* rgb */ color: rgb(18, 22, 115);
/* oklch */ color: oklch(28.3% 0.153 269.7);
Tailwind
colors: {
  custom: {
    50: '#65559c',
    500: '#121673',
    950: '#000000',
  },
}
SCSS
$custom: #121673;
$custom-light: #65559c;
$custom-dark: #000000;
JSON
{
  "hex": "#121673",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 237.526,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28318,
    "c": 0.15257,
    "h": 269.7
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #121673

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

Preview Lab → · Contrast checker → · Palette generator →

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