#121057#121057

#121057 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.0% C 0.121 H 273.5°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#121057
RGBrgb(18, 16, 87)
HSLhsl(242, 69%, 20%)
HSVhsv(242, 82%, 34%)
CMYKcmyk(79.3%, 81.6%, 0%, 65.9%)
CIE-LABlab(10.46, 27.45, -41.92)
CIE-LCHlch(10.46, 50.10, 303.22°)
OKLaboklab(23.99% 0.0075 -0.1213)
OKLCHoklch(23.99% 0.122 273.5)
XYZxyz(2.1545, 1.1871, 9.1306)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121057 #555710
analogous
#103157 #121057 #351057
triadic
#121057 #571210 #105712
tetradic
#121057 #571031 #555710 #105735
square
#121057 #571031 #555710 #105735
split-complementary
#121057 #573510 #315710
monochromatic
#05051A #070623 #121057 #1D1A8B #2723BE

Accessibility & contrast

On white

16.97
#121057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121057
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121057#FFFFFF#000000##FFFFFF
##1210571.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001956
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121057;
/* rgb */ color: rgb(18, 16, 87);
/* oklch */ color: oklch(24.0% 0.121 273.5);
Tailwind
colors: {
  custom: {
    50: '#5d4f87',
    500: '#121057',
    950: '#000000',
  },
}
SCSS
$custom: #121057;
$custom-light: #5d4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#121057",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 241.69,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.23991,
    "c": 0.1215,
    "h": 273.5
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#121057
secondary
#8E9032
accent
#EC3CE7
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121057

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

Preview Lab → · Contrast checker → · Palette generator →

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