#121867#121867

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

Color values

HEX#121867
RGBrgb(18, 24, 103)
HSLhsl(236, 70%, 24%)
HSVhsv(236, 83%, 40%)
CMYKcmyk(82.5%, 76.7%, 0%, 59.6%)
CIE-LABlab(14.18, 28.35, -46.48)
CIE-LCHlch(14.18, 54.44, 301.38°)
OKLaboklab(27.2% 0.0006 -0.1346)
OKLCHoklch(27.2% 0.135 270.2)
XYZxyz(3.0234, 1.7608, 13.0099)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121867 #676112
analogous
#124267 #121867 #361267
triadic
#121867 #671218 #186712
tetradic
#121867 #671242 #676112 #126736
square
#121867 #671242 #676112 #126736
split-complementary
#121867 #673612 #426712
monochromatic
#05061A #090C33 #121867 #1B249B #2430CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121867#FFFFFF#000000##FFFFFF
##1218671.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)
#002869
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121867;
/* rgb */ color: rgb(18, 24, 103);
/* oklch */ color: oklch(27.2% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#615593',
    500: '#121867',
    950: '#000000',
  },
}
SCSS
$custom: #121867;
$custom-light: #615593;
$custom-dark: #000000;
JSON
{
  "hex": "#121867",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 235.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27195,
    "c": 0.1346,
    "h": 270.2
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#121867
secondary
#9F9736
accent
#E03BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121867

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

Preview Lab → · Contrast checker → · Palette generator →

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