#121869#121869

#121869 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.137 H 270.1°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#121869
RGBrgb(18, 24, 105)
HSLhsl(236, 71%, 24%)
HSVhsv(236, 83%, 41%)
CMYKcmyk(82.9%, 77.1%, 0%, 58.8%)
CIE-LABlab(14.41, 29.11, -47.41)
CIE-LCHlch(14.41, 55.63, 301.55°)
OKLaboklab(27.43% 0.0002 -0.1373)
OKLCHoklch(27.43% 0.137 270.1)
XYZxyz(3.1250, 1.8014, 13.5449)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121869 #696312
analogous
#124469 #121869 #381269
triadic
#121869 #691218 #186912
tetradic
#121869 #691244 #696312 #126938
square
#121869 #691244 #696312 #126938
split-complementary
#121869 #693812 #446912
monochromatic
#04061A #090C35 #121869 #1B249D #2430D1

Accessibility & contrast

On white

15.44
#121869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121869
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121869#FFFFFF#000000##FFFFFF
##1218691.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121869;
/* rgb */ color: rgb(18, 24, 105);
/* oklch */ color: oklch(27.4% 0.137 270.1);
Tailwind
colors: {
  custom: {
    50: '#625595',
    500: '#121869',
    950: '#000000',
  },
}
SCSS
$custom: #121869;
$custom-light: #625595;
$custom-dark: #000000;
JSON
{
  "hex": "#121869",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 235.862,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27428,
    "c": 0.13732,
    "h": 270.1
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#121869
secondary
#A19936
accent
#E13AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121869

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

Preview Lab → · Contrast checker → · Palette generator →

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