#121B63#121B63

#121B63 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.125 H 269.8°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#121B63
RGBrgb(18, 27, 99)
HSLhsl(233, 69%, 23%)
HSVhsv(233, 82%, 39%)
CMYKcmyk(81.8%, 72.7%, 0%, 61.2%)
CIE-LABlab(14.47, 24.76, -43.35)
CIE-LCHlch(14.47, 49.92, 299.73°)
OKLaboklab(27.27% -0.0005 -0.1255)
OKLCHoklch(27.27% 0.125 269.8)
XYZxyz(2.8927, 1.8130, 11.9994)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B63 #635A12
analogous
#124363 #121B63 #311263
triadic
#121B63 #63121B #1B6312
tetradic
#121B63 #631243 #635A12 #126331
square
#121B63 #631243 #635A12 #126331
split-complementary
#121B63 #633112 #436312
monochromatic
#05071A #090D2F #121B63 #1B2997 #2537CB

Accessibility & contrast

On white

15.41
#121B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B63
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B63#FFFFFF#000000##FFFFFF
##121B631.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121b63;
/* rgb */ color: rgb(18, 27, 99);
/* oklch */ color: oklch(27.3% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#605790',
    500: '#121b63',
    950: '#000000',
  },
}
SCSS
$custom: #121b63;
$custom-light: #605790;
$custom-dark: #000000;
JSON
{
  "hex": "#121b63",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 233.333,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27274,
    "c": 0.12548,
    "h": 269.8
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#121B63
secondary
#9B9036
accent
#D83CEC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #121B63

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

Preview Lab → · Contrast checker → · Palette generator →

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