#121574#121574

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

Color values

HEX#121574
RGBrgb(18, 21, 116)
HSLhsl(238, 73%, 26%)
HSVhsv(238, 84%, 45%)
CMYKcmyk(84.5%, 81.9%, 0%, 54.5%)
CIE-LABlab(15.09, 34.97, -53.45)
CIE-LCHlch(15.09, 63.87, 303.19°)
OKLaboklab(28.3% -0.0007 -0.1548)
OKLCHoklch(28.3% 0.155 269.8)
XYZxyz(3.6689, 1.9255, 16.6979)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121574 #747112
analogous
#124674 #121574 #401274
triadic
#121574 #741215 #157412
tetradic
#121574 #741246 #747112 #127440
square
#121574 #741246 #747112 #127440
split-complementary
#121574 #744012 #467412
monochromatic
#04051A #0A0B3F #121574 #1A1FA9 #2329DD

Accessibility & contrast

On white

15.16
#121574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121574
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121574#FFFFFF#000000##FFFFFF
##1215741.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121574;
/* rgb */ color: rgb(18, 21, 116);
/* oklch */ color: oklch(28.3% 0.155 269.8);
Tailwind
colors: {
  custom: {
    50: '#65549d',
    500: '#121574',
    950: '#000000',
  },
}
SCSS
$custom: #121574;
$custom-light: #65549d;
$custom-dark: #000000;
JSON
{
  "hex": "#121574",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 238.163,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.283,
    "c": 0.1548,
    "h": 269.8
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#121574
secondary
#ABA737
accent
#EA38F0
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121574

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

Preview Lab → · Contrast checker → · Palette generator →

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