#121268#121268

#121268 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.142 H 271.1°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#121268
RGBrgb(18, 18, 104)
HSLhsl(240, 70%, 24%)
HSVhsv(240, 83%, 41%)
CMYKcmyk(82.7%, 82.7%, 0%, 59.2%)
CIE-LABlab(12.99, 32.43, -49.10)
CIE-LCHlch(12.99, 58.85, 303.44°)
OKLaboklab(26.39% 0.0028 -0.1422)
OKLCHoklch(26.39% 0.142 271.1)
XYZxyz(2.9636, 1.5604, 13.2390)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121268 #686812
analogous
#123D68 #121268 #3D1268
triadic
#121268 #681212 #126812
tetradic
#121268 #68123D #686812 #12683D
square
#121268 #68123D #686812 #12683D
split-complementary
#121268 #683D12 #3D6812
monochromatic
#05051A #090934 #121268 #1B1B9C #2424D0

Accessibility & contrast

On white

16.00
#121268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121268
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121268#FFFFFF#000000##FFFFFF
##1212681.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001D67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121268;
/* rgb */ color: rgb(18, 18, 104);
/* oklch */ color: oklch(26.4% 0.142 271.1);
Tailwind
colors: {
  custom: {
    50: '#625294',
    500: '#121268',
    950: '#000000',
  },
}
SCSS
$custom: #121268;
$custom-light: #625294;
$custom-dark: #000000;
JSON
{
  "hex": "#121268",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26386,
    "c": 0.1422,
    "h": 271.1
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#121268
secondary
#A0A036
accent
#ED3BED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121268

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

Preview Lab → · Contrast checker → · Palette generator →

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