#121072#121072

#121072 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.157 H 270.4°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#121072
RGBrgb(18, 16, 114)
HSLhsl(241, 75%, 25%)
HSVhsv(241, 86%, 45%)
CMYKcmyk(84.2%, 86%, 0%, 55.3%)
CIE-LABlab(13.91, 36.98, -54.12)
CIE-LCHlch(13.91, 65.54, 304.34°)
OKLaboklab(27.4% 0.001 -0.1567)
OKLCHoklch(27.4% 0.157 270.4)
XYZxyz(3.4710, 1.7137, 16.0642)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121072 #707210
analogous
#103F72 #121072 #431072
triadic
#121072 #721210 #107212
tetradic
#121072 #72103F #707210 #107243
square
#121072 #72103F #707210 #107243
split-complementary
#121072 #724310 #3F7210
monochromatic
#04041B #0A083C #121072 #1A18A8 #231FDD

Accessibility & contrast

On white

15.64
#121072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121072
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121072#FFFFFF#000000##FFFFFF
##1210721.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002875
Deuteranopia (green-blind)
#001E70
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121072;
/* rgb */ color: rgb(18, 16, 114);
/* oklch */ color: oklch(27.4% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#65519c',
    500: '#121072',
    950: '#000000',
  },
}
SCSS
$custom: #121072;
$custom-light: #65519c;
$custom-dark: #000000;
JSON
{
  "hex": "#121072",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 241.224,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.274,
    "c": 0.15665,
    "h": 270.4
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#121072
secondary
#A7A934
accent
#F236EE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #121072

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

Preview Lab → · Contrast checker → · Palette generator →

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