#121563#121563

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

Color values

HEX#121563
RGBrgb(18, 21, 99)
HSLhsl(238, 69%, 23%)
HSVhsv(238, 82%, 39%)
CMYKcmyk(81.8%, 78.8%, 0%, 61.2%)
CIE-LABlab(13.02, 28.77, -45.75)
CIE-LCHlch(13.02, 54.04, 302.17°)
OKLaboklab(26.23% 0.0026 -0.1325)
OKLCHoklch(26.23% 0.132 271.1)
XYZxyz(2.7690, 1.5655, 11.9582)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121563 #636012
analogous
#123D63 #121563 #371263
triadic
#121563 #631215 #156312
tetradic
#121563 #63123D #636012 #126337
square
#121563 #63123D #636012 #126337
split-complementary
#121563 #633712 #3D6312
monochromatic
#05051A #090A2F #121563 #1B2097 #252BCB

Accessibility & contrast

On white

15.99
#121563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121563
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121563#FFFFFF#000000##FFFFFF
##1215631.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002665
Deuteranopia (green-blind)
#001E62
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121563;
/* rgb */ color: rgb(18, 21, 99);
/* oklch */ color: oklch(26.2% 0.132 271.1);
Tailwind
colors: {
  custom: {
    50: '#605390',
    500: '#121563',
    950: '#000000',
  },
}
SCSS
$custom: #121563;
$custom-light: #605390;
$custom-dark: #000000;
JSON
{
  "hex": "#121563",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 237.778,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26229,
    "c": 0.13249,
    "h": 271.1
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#121563
secondary
#9B9736
accent
#E63CEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121563

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

Preview Lab → · Contrast checker → · Palette generator →

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