#121576#121576

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

Color values

HEX#121576
RGBrgb(18, 21, 118)
HSLhsl(238, 74%, 27%)
HSVhsv(238, 85%, 46%)
CMYKcmyk(84.7%, 82.2%, 0%, 53.7%)
CIE-LABlab(15.34, 35.67, -54.32)
CIE-LCHlch(15.34, 64.99, 303.29°)
OKLaboklab(28.55% -0.0011 -0.1573)
OKLCHoklch(28.55% 0.157 269.6)
XYZxyz(3.7865, 1.9725, 17.3172)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121576 #767312
analogous
#124776 #121576 #411276
triadic
#121576 #761215 #157612
tetradic
#121576 #761247 #767312 #127641
square
#121576 #761247 #767312 #127641
split-complementary
#121576 #764112 #477612
monochromatic
#04051B #0A0C41 #121576 #1A1EAB #252ADE

Accessibility & contrast

On white

15.06
#121576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121576
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121576#FFFFFF#000000##FFFFFF
##1215761.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121576;
/* rgb */ color: rgb(18, 21, 118);
/* oklch */ color: oklch(28.5% 0.157 269.6);
Tailwind
colors: {
  custom: {
    50: '#66549f',
    500: '#121576',
    950: '#000000',
  },
}
SCSS
$custom: #121576;
$custom-light: #66549f;
$custom-dark: #000000;
JSON
{
  "hex": "#121576",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 238.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28549,
    "c": 0.15734,
    "h": 269.6
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#121576
secondary
#ADA937
accent
#EB38F0
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #121576

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

Preview Lab → · Contrast checker → · Palette generator →

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