#121676#121676

#121676 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.156 H 269.5°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#121676
RGBrgb(18, 22, 118)
HSLhsl(238, 74%, 27%)
HSVhsv(238, 85%, 46%)
CMYKcmyk(84.7%, 81.4%, 0%, 53.7%)
CIE-LABlab(15.54, 35.10, -53.99)
CIE-LCHlch(15.54, 64.40, 303.03°)
OKLaboklab(28.69% -0.0013 -0.1564)
OKLCHoklch(28.69% 0.156 269.5)
XYZxyz(3.8053, 2.0100, 17.3234)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121676 #767212
analogous
#124876 #121676 #401276
triadic
#121676 #761216 #167612
tetradic
#121676 #761248 #767212 #127640
square
#121676 #761248 #767212 #127640
split-complementary
#121676 #764012 #487612
monochromatic
#04051B #0A0C41 #121676 #1A20AB #252CDE

Accessibility & contrast

On white

14.98
#121676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#121676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121676
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121676#FFFFFF#000000##FFFFFF
##1216761.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121676;
/* rgb */ color: rgb(18, 22, 118);
/* oklch */ color: oklch(28.7% 0.156 269.5);
Tailwind
colors: {
  custom: {
    50: '#66559f',
    500: '#121676',
    950: '#000000',
  },
}
SCSS
$custom: #121676;
$custom-light: #66559f;
$custom-dark: #000000;
JSON
{
  "hex": "#121676",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 237.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28688,
    "c": 0.15641,
    "h": 269.5
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#121676
secondary
#ADA837
accent
#E938F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #121676

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

Preview Lab → · Contrast checker → · Palette generator →

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