#121074#121074

#121074 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.159 H 270.2°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#121074
RGBrgb(18, 16, 116)
HSLhsl(241, 76%, 26%)
HSVhsv(241, 86%, 45%)
CMYKcmyk(84.5%, 86.2%, 0%, 54.5%)
CIE-LABlab(14.17, 37.65, -54.97)
CIE-LCHlch(14.17, 66.63, 304.40°)
OKLaboklab(27.66% 0.0006 -0.1591)
OKLCHoklch(27.66% 0.159 270.2)
XYZxyz(3.5861, 1.7597, 16.6703)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121074 #727410
analogous
#104074 #121074 #441074
triadic
#121074 #741210 #107412
tetradic
#121074 #741040 #727410 #107444
square
#121074 #741040 #727410 #107444
split-complementary
#121074 #744410 #407410
monochromatic
#04041B #0A093E #121074 #1A17AA #231FE0

Accessibility & contrast

On white

15.53
#121074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#121074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121074
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121074#FFFFFF#000000##FFFFFF
##1210741.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#001F72
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121074;
/* rgb */ color: rgb(18, 16, 116);
/* oklch */ color: oklch(27.7% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#66519d',
    500: '#121074',
    950: '#000000',
  },
}
SCSS
$custom: #121074;
$custom-light: #66519d;
$custom-dark: #000000;
JSON
{
  "hex": "#121074",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 241.2,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2766,
    "c": 0.15913,
    "h": 270.2
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#121074
secondary
#A9AB35
accent
#F235EF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #121074

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

Preview Lab → · Contrast checker → · Palette generator →

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