#121767#121767

#121767 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.136 H 270.4°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#121767
RGBrgb(18, 23, 103)
HSLhsl(236, 70%, 24%)
HSVhsv(236, 83%, 40%)
CMYKcmyk(82.5%, 77.7%, 0%, 59.6%)
CIE-LABlab(13.95, 29.00, -46.86)
CIE-LCHlch(13.95, 55.11, 301.75°)
OKLaboklab(27.03% 0.001 -0.1357)
OKLCHoklch(27.03% 0.136 270.4)
XYZxyz(3.0032, 1.7203, 13.0031)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121767 #676212
analogous
#124167 #121767 #371267
triadic
#121767 #671217 #176712
tetradic
#121767 #671241 #676212 #126737
square
#121767 #671241 #676212 #126737
split-complementary
#121767 #673712 #416712
monochromatic
#05061A #090B33 #121767 #1B239B #242ECF

Accessibility & contrast

On white

15.62
#121767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121767
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121767#FFFFFF#000000##FFFFFF
##1217671.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121767;
/* rgb */ color: rgb(18, 23, 103);
/* oklch */ color: oklch(27.0% 0.136 270.4);
Tailwind
colors: {
  custom: {
    50: '#615593',
    500: '#121767',
    950: '#000000',
  },
}
SCSS
$custom: #121767;
$custom-light: #615593;
$custom-dark: #000000;
JSON
{
  "hex": "#121767",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 236.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27028,
    "c": 0.13571,
    "h": 270.4
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#121767
secondary
#9F9936
accent
#E33BED
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121767

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

Preview Lab → · Contrast checker → · Palette generator →

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