#121976#121976

#121976 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.153 H 269.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#121976
RGBrgb(18, 25, 118)
HSLhsl(236, 74%, 27%)
HSVhsv(236, 85%, 46%)
CMYKcmyk(84.7%, 78.8%, 0%, 53.7%)
CIE-LABlab(16.16, 33.32, -52.96)
CIE-LCHlch(16.16, 62.57, 302.18°)
OKLaboklab(29.13% -0.0022 -0.1534)
OKLCHoklch(29.13% 0.153 269.2)
XYZxyz(3.8660, 2.1314, 17.3437)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121976 #766F12
analogous
#124B76 #121976 #3D1276
triadic
#121976 #761219 #197612
tetradic
#121976 #76124B #766F12 #12763D
square
#121976 #76124B #766F12 #12763D
split-complementary
#121976 #763D12 #4B7612
monochromatic
#04061B #0A0E41 #121976 #1A24AB #2532DE

Accessibility & contrast

On white

14.72
#121976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#121976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121976
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121976#FFFFFF#000000##FFFFFF
##1219761.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121976;
/* rgb */ color: rgb(18, 25, 118);
/* oklch */ color: oklch(29.1% 0.153 269.2);
Tailwind
colors: {
  custom: {
    50: '#65579f',
    500: '#121976',
    950: '#000000',
  },
}
SCSS
$custom: #121976;
$custom-light: #65579f;
$custom-dark: #000000;
JSON
{
  "hex": "#121976",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 235.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29127,
    "c": 0.15347,
    "h": 269.2
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#121976
secondary
#ADA437
accent
#E338F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #121976

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

Preview Lab → · Contrast checker → · Palette generator →

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