#121A63#121A63

#121A63 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.127 H 270.0°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#121A63
RGBrgb(18, 26, 99)
HSLhsl(234, 69%, 23%)
HSVhsv(234, 82%, 39%)
CMYKcmyk(81.8%, 73.7%, 0%, 61.2%)
CIE-LABlab(14.22, 25.45, -43.77)
CIE-LCHlch(14.22, 50.63, 300.18°)
OKLaboklab(27.09% 0.0001 -0.1267)
OKLCHoklch(27.09% 0.127 270)
XYZxyz(2.8702, 1.7679, 11.9919)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A63 #635B12
analogous
#124263 #121A63 #321263
triadic
#121A63 #63121A #1A6312
tetradic
#121A63 #631242 #635B12 #126332
square
#121A63 #631242 #635B12 #126332
split-complementary
#121A63 #633212 #426312
monochromatic
#05071A #090C2F #121A63 #1B2897 #2535CB

Accessibility & contrast

On white

15.51
#121A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#121A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A63
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A63#FFFFFF#000000##FFFFFF
##121A631.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121a63;
/* rgb */ color: rgb(18, 26, 99);
/* oklch */ color: oklch(27.1% 0.127 270.0);
Tailwind
colors: {
  custom: {
    50: '#605690',
    500: '#121a63',
    950: '#000000',
  },
}
SCSS
$custom: #121a63;
$custom-light: #605690;
$custom-dark: #000000;
JSON
{
  "hex": "#121a63",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 234.074,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2709,
    "c": 0.12671,
    "h": 270
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#121A63
secondary
#9B9136
accent
#DB3CEC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #121A63

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

Preview Lab → · Contrast checker → · Palette generator →

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