#121376#121376

#121376 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.159 H 269.8°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#121376
RGBrgb(18, 19, 118)
HSLhsl(239, 74%, 27%)
HSVhsv(239, 85%, 46%)
CMYKcmyk(84.7%, 83.9%, 0%, 53.7%)
CIE-LABlab(14.96, 36.77, -54.95)
CIE-LCHlch(14.96, 66.12, 303.79°)
OKLaboklab(28.29% -0.0006 -0.1591)
OKLCHoklch(28.29% 0.159 269.8)
XYZxyz(3.7512, 1.9019, 17.3054)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121376 #767512
analogous
#124576 #121376 #431276
triadic
#121376 #761213 #137612
tetradic
#121376 #761245 #767512 #127643
square
#121376 #761245 #767512 #127643
split-complementary
#121376 #764312 #457612
monochromatic
#04041B #0A0A41 #121376 #1A1CAB #2527DE

Accessibility & contrast

On white

15.21
#121376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121376
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121376#FFFFFF#000000##FFFFFF
##1213761.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121376;
/* rgb */ color: rgb(18, 19, 118);
/* oklch */ color: oklch(28.3% 0.159 269.8);
Tailwind
colors: {
  custom: {
    50: '#66539f',
    500: '#121376',
    950: '#000000',
  },
}
SCSS
$custom: #121376;
$custom-light: #66539f;
$custom-dark: #000000;
JSON
{
  "hex": "#121376",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 239.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28285,
    "c": 0.15912,
    "h": 269.8
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#121376
secondary
#ADAB37
accent
#EE38F0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #121376

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

Preview Lab → · Contrast checker → · Palette generator →

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