#121863#121863

#121863 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.129 H 270.5°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#121863
RGBrgb(18, 24, 99)
HSLhsl(236, 69%, 23%)
HSVhsv(236, 82%, 39%)
CMYKcmyk(81.8%, 75.8%, 0%, 61.2%)
CIE-LABlab(13.72, 26.81, -44.58)
CIE-LCHlch(13.72, 52.02, 301.02°)
OKLaboklab(26.73% 0.0012 -0.1291)
OKLCHoklch(26.73% 0.129 270.5)
XYZxyz(2.8275, 1.6824, 11.9777)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121863 #635D12
analogous
#124063 #121863 #351263
triadic
#121863 #631218 #186312
tetradic
#121863 #631240 #635D12 #126335
square
#121863 #631240 #635D12 #126335
split-complementary
#121863 #633512 #406312
monochromatic
#05061A #090B2F #121863 #1B2597 #2531CB

Accessibility & contrast

On white

15.71
#121863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121863
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121863#FFFFFF#000000##FFFFFF
##1218631.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#001F62
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121863;
/* rgb */ color: rgb(18, 24, 99);
/* oklch */ color: oklch(26.7% 0.129 270.5);
Tailwind
colors: {
  custom: {
    50: '#605590',
    500: '#121863',
    950: '#000000',
  },
}
SCSS
$custom: #121863;
$custom-light: #605590;
$custom-dark: #000000;
JSON
{
  "hex": "#121863",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 235.556,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26733,
    "c": 0.12909,
    "h": 270.5
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#121863
secondary
#9B9336
accent
#DF3CEC
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #121863

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

Preview Lab → · Contrast checker → · Palette generator →

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