#121269#121269

#121269 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.143 H 271.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#121269
RGBrgb(18, 18, 105)
HSLhsl(240, 71%, 24%)
HSVhsv(240, 83%, 41%)
CMYKcmyk(82.9%, 82.9%, 0%, 58.8%)
CIE-LABlab(13.11, 32.79, -49.55)
CIE-LCHlch(13.11, 59.42, 303.49°)
OKLaboklab(26.51% 0.0026 -0.1435)
OKLCHoklch(26.51% 0.144 271)
XYZxyz(3.0147, 1.5808, 13.5081)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121269 #696912
analogous
#123E69 #121269 #3E1269
triadic
#121269 #691212 #126912
tetradic
#121269 #69123E #696912 #12693E
square
#121269 #69123E #696912 #12693E
split-complementary
#121269 #693E12 #3E6912
monochromatic
#04041A #090935 #121269 #1B1B9D #2424D1

Accessibility & contrast

On white

15.96
#121269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121269
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121269#FFFFFF#000000##FFFFFF
##1212691.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266B
Deuteranopia (green-blind)
#001D68
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121269;
/* rgb */ color: rgb(18, 18, 105);
/* oklch */ color: oklch(26.5% 0.143 271.0);
Tailwind
colors: {
  custom: {
    50: '#625295',
    500: '#121269',
    950: '#000000',
  },
}
SCSS
$custom: #121269;
$custom-light: #625295;
$custom-dark: #000000;
JSON
{
  "hex": "#121269",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 240,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.26511,
    "c": 0.1435,
    "h": 271
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#121269
secondary
#A1A136
accent
#ED3AED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121269

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

Preview Lab → · Contrast checker → · Palette generator →

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