#121058#121058

#121058 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.123 H 273.4°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#121058
RGBrgb(18, 16, 88)
HSLhsl(242, 69%, 20%)
HSVhsv(242, 82%, 35%)
CMYKcmyk(79.5%, 81.8%, 0%, 65.5%)
CIE-LABlab(10.58, 27.82, -42.39)
CIE-LCHlch(10.58, 50.71, 303.27°)
OKLaboklab(24.11% 0.0072 -0.1227)
OKLCHoklch(24.11% 0.123 273.4)
XYZxyz(2.1956, 1.2035, 9.3472)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121058 #565810
analogous
#103258 #121058 #361058
triadic
#121058 #581210 #105812
tetradic
#121058 #581032 #565810 #105836
square
#121058 #581032 #565810 #105836
split-complementary
#121058 #583610 #325810
monochromatic
#05051A #070724 #121058 #1D198C #2723C0

Accessibility & contrast

On white

16.92
#121058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121058
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121058#FFFFFF#000000##FFFFFF
##1210581.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001957
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121058;
/* rgb */ color: rgb(18, 16, 88);
/* oklch */ color: oklch(24.1% 0.123 273.4);
Tailwind
colors: {
  custom: {
    50: '#5e4f88',
    500: '#121058',
    950: '#000000',
  },
}
SCSS
$custom: #121058;
$custom-light: #5e4f88;
$custom-dark: #000000;
JSON
{
  "hex": "#121058",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 241.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24113,
    "c": 0.12287,
    "h": 273.4
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #121058

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

Preview Lab → · Contrast checker → · Palette generator →

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