#121374#121374

#121374 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.157 H 270.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#121374
RGBrgb(18, 19, 116)
HSLhsl(239, 73%, 26%)
HSVhsv(239, 84%, 45%)
CMYKcmyk(84.5%, 83.6%, 0%, 54.5%)
CIE-LABlab(14.71, 36.08, -54.09)
CIE-LCHlch(14.71, 65.02, 303.71°)
OKLaboklab(28.03% -0.0001 -0.1566)
OKLCHoklch(28.03% 0.157 270)
XYZxyz(3.6336, 1.8549, 16.6861)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121374 #747312
analogous
#124474 #121374 #421274
triadic
#121374 #741213 #137412
tetradic
#121374 #741244 #747312 #127442
square
#121374 #741244 #747312 #127442
split-complementary
#121374 #744212 #447412
monochromatic
#04041A #0A0A3F #121374 #1A1CA9 #2325DD

Accessibility & contrast

On white

15.32
#121374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#121374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121374
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121374#FFFFFF#000000##FFFFFF
##1213741.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121374;
/* rgb */ color: rgb(18, 19, 116);
/* oklch */ color: oklch(28.0% 0.157 270.0);
Tailwind
colors: {
  custom: {
    50: '#65539d',
    500: '#121374',
    950: '#000000',
  },
}
SCSS
$custom: #121374;
$custom-light: #65539d;
$custom-dark: #000000;
JSON
{
  "hex": "#121374",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 239.388,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28031,
    "c": 0.15662,
    "h": 270
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#121374
secondary
#ABAA37
accent
#EE38F0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #121374

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

Preview Lab → · Contrast checker → · Palette generator →

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