#121C65#121C65

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

Color values

HEX#121C65
RGBrgb(18, 28, 101)
HSLhsl(233, 70%, 23%)
HSVhsv(233, 82%, 40%)
CMYKcmyk(82.2%, 72.3%, 0%, 60.4%)
CIE-LABlab(14.94, 24.86, -43.89)
CIE-LCHlch(14.94, 50.44, 299.52°)
OKLaboklab(27.68% -0.0013 -0.1271)
OKLCHoklch(27.68% 0.127 269.4)
XYZxyz(3.0129, 1.8984, 12.5170)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C65 #655B12
analogous
#124565 #121C65 #311265
triadic
#121C65 #65121C #1C6512
tetradic
#121C65 #651245 #655B12 #126531
square
#121C65 #651245 #655B12 #126531
split-complementary
#121C65 #653112 #456512
monochromatic
#05071A #090E31 #121C65 #1B2A99 #2539CD

Accessibility & contrast

On white

15.22
#121C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C65
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C65#FFFFFF#000000##FFFFFF
##121C651.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121c65;
/* rgb */ color: rgb(18, 28, 101);
/* oklch */ color: oklch(27.7% 0.127 269.4);
Tailwind
colors: {
  custom: {
    50: '#605892',
    500: '#121c65',
    950: '#000000',
  },
}
SCSS
$custom: #121c65;
$custom-light: #605892;
$custom-dark: #000000;
JSON
{
  "hex": "#121c65",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 232.771,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27681,
    "c": 0.12709,
    "h": 269.4
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#121C65
secondary
#9D9036
accent
#D73BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121C65

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

Preview Lab → · Contrast checker → · Palette generator →

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