#121D63#121D63

#121D63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.123 H 269.2°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#121D63
RGBrgb(18, 29, 99)
HSLhsl(232, 69%, 23%)
HSVhsv(232, 82%, 39%)
CMYKcmyk(81.8%, 70.7%, 0%, 61.2%)
CIE-LABlab(15.00, 23.35, -42.49)
CIE-LCHlch(15.00, 48.48, 298.79°)
OKLaboklab(27.65% -0.0017 -0.123)
OKLCHoklch(27.65% 0.123 269.2)
XYZxyz(2.9402, 1.9079, 12.0153)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D63 #635812
analogous
#124563 #121D63 #2F1263
triadic
#121D63 #63121D #1D6312
tetradic
#121D63 #631245 #635812 #12632F
square
#121D63 #631245 #635812 #12632F
split-complementary
#121D63 #632F12 #456312
monochromatic
#05081A #090E2F #121D63 #1B2C97 #253BCB

Accessibility & contrast

On white

15.20
#121D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D63
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D63#FFFFFF#000000##FFFFFF
##121D631.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121d63;
/* rgb */ color: rgb(18, 29, 99);
/* oklch */ color: oklch(27.7% 0.123 269.2);
Tailwind
colors: {
  custom: {
    50: '#5f5990',
    500: '#121d63',
    950: '#000000',
  },
}
SCSS
$custom: #121d63;
$custom-light: #5f5990;
$custom-dark: #000000;
JSON
{
  "hex": "#121d63",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 231.852,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27654,
    "c": 0.12298,
    "h": 269.2
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#121D63
secondary
#9B8D36
accent
#D43CEC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #121D63

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

Preview Lab → · Contrast checker → · Palette generator →

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