#121267#121267

#121267 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.141 H 271.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#121267
RGBrgb(18, 18, 103)
HSLhsl(240, 70%, 24%)
HSVhsv(240, 83%, 40%)
CMYKcmyk(82.5%, 82.5%, 0%, 59.6%)
CIE-LABlab(12.86, 32.07, -48.65)
CIE-LCHlch(12.86, 58.27, 303.39°)
OKLaboklab(26.26% 0.003 -0.1409)
OKLCHoklch(26.26% 0.141 271.2)
XYZxyz(2.9131, 1.5402, 12.9731)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121267 #676712
analogous
#123C67 #121267 #3C1267
triadic
#121267 #671212 #126712
tetradic
#121267 #67123C #676712 #12673C
square
#121267 #67123C #676712 #12673C
split-complementary
#121267 #673C12 #3C6712
monochromatic
#05051A #090933 #121267 #1B1B9B #2424CF

Accessibility & contrast

On white

16.06
#121267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121267
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121267#FFFFFF#000000##FFFFFF
##1212671.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001D66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121267;
/* rgb */ color: rgb(18, 18, 103);
/* oklch */ color: oklch(26.3% 0.141 271.2);
Tailwind
colors: {
  custom: {
    50: '#625193',
    500: '#121267',
    950: '#000000',
  },
}
SCSS
$custom: #121267;
$custom-light: #625193;
$custom-dark: #000000;
JSON
{
  "hex": "#121267",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 240,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26261,
    "c": 0.14089,
    "h": 271.2
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#121267
secondary
#9F9F36
accent
#ED3BED
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121267

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

Preview Lab → · Contrast checker → · Palette generator →

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