#121C63#121C63

#121C63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.5% C 0.124 H 269.5°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#121C63
RGBrgb(18, 28, 99)
HSLhsl(233, 69%, 23%)
HSVhsv(233, 82%, 39%)
CMYKcmyk(81.8%, 71.7%, 0%, 61.2%)
CIE-LABlab(14.73, 24.06, -42.92)
CIE-LCHlch(14.73, 49.21, 299.27°)
OKLaboklab(27.46% -0.0011 -0.1242)
OKLCHoklch(27.46% 0.124 269.5)
XYZxyz(2.9161, 1.8596, 12.0072)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C63 #635912
analogous
#124463 #121C63 #311263
triadic
#121C63 #63121C #1C6312
tetradic
#121C63 #631244 #635912 #126331
square
#121C63 #631244 #635912 #126331
split-complementary
#121C63 #633112 #446312
monochromatic
#05071A #090D2F #121C63 #1B2B97 #2539CB

Accessibility & contrast

On white

15.31
#121C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#121C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C63
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C63#FFFFFF#000000##FFFFFF
##121C631.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121c63;
/* rgb */ color: rgb(18, 28, 99);
/* oklch */ color: oklch(27.5% 0.124 269.5);
Tailwind
colors: {
  custom: {
    50: '#5f5890',
    500: '#121c63',
    950: '#000000',
  },
}
SCSS
$custom: #121c63;
$custom-light: #5f5890;
$custom-dark: #000000;
JSON
{
  "hex": "#121c63",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 232.593,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.12424,
    "h": 269.5
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#121C63
secondary
#9B8F36
accent
#D63CEC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #121C63

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

Preview Lab → · Contrast checker → · Palette generator →

#121C63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva