#121763#121763

#121763 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.130 H 270.7°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#121763
RGBrgb(18, 23, 99)
HSLhsl(236, 69%, 23%)
HSVhsv(236, 82%, 39%)
CMYKcmyk(81.8%, 76.8%, 0%, 61.2%)
CIE-LABlab(13.48, 27.47, -44.98)
CIE-LCHlch(13.48, 52.70, 301.42°)
OKLaboklab(26.56% 0.0017 -0.1302)
OKLCHoklch(26.56% 0.13 270.7)
XYZxyz(2.8072, 1.6419, 11.9709)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121763 #635E12
analogous
#123F63 #121763 #351263
triadic
#121763 #631217 #176312
tetradic
#121763 #63123F #635E12 #126335
square
#121763 #63123F #635E12 #126335
split-complementary
#121763 #633512 #3F6312
monochromatic
#05061A #090B2F #121763 #1B2397 #252FCB

Accessibility & contrast

On white

15.81
#121763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#121763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121763
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121763#FFFFFF#000000##FFFFFF
##1217631.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121763;
/* rgb */ color: rgb(18, 23, 99);
/* oklch */ color: oklch(26.6% 0.130 270.7);
Tailwind
colors: {
  custom: {
    50: '#605490',
    500: '#121763',
    950: '#000000',
  },
}
SCSS
$custom: #121763;
$custom-light: #605490;
$custom-dark: #000000;
JSON
{
  "hex": "#121763",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 236.296,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26561,
    "c": 0.13024,
    "h": 270.7
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#121763
secondary
#9B9536
accent
#E13CEC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #121763

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

Preview Lab → · Contrast checker → · Palette generator →

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