#121C6A#121C6A

#121C6A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.134 H 269.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#121C6A
RGBrgb(18, 28, 106)
HSLhsl(233, 71%, 24%)
HSVhsv(233, 83%, 42%)
CMYKcmyk(83%, 73.6%, 0%, 58.4%)
CIE-LABlab(15.48, 26.84, -46.29)
CIE-LCHlch(15.48, 53.51, 300.10°)
OKLaboklab(28.23% -0.0018 -0.1341)
OKLCHoklch(28.23% 0.134 269.2)
XYZxyz(3.2653, 1.9993, 13.8467)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C6A #6A6012
analogous
#12486A #121C6A #34126A
triadic
#121C6A #6A121C #1C6A12
tetradic
#121C6A #6A1248 #6A6012 #126A34
square
#121C6A #6A1248 #6A6012 #126A34
split-complementary
#121C6A #6A3412 #486A12
monochromatic
#04071A #090E36 #121C6A #1B2A9E #2438D3

Accessibility & contrast

On white

15.00
#121C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#121C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C6A
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C6A#FFFFFF#000000##FFFFFF
##121C6A1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121c6a;
/* rgb */ color: rgb(18, 28, 106);
/* oklch */ color: oklch(28.2% 0.134 269.2);
Tailwind
colors: {
  custom: {
    50: '#625896',
    500: '#121c6a',
    950: '#000000',
  },
}
SCSS
$custom: #121c6a;
$custom-light: #625896;
$custom-dark: #000000;
JSON
{
  "hex": "#121c6a",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 233.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28234,
    "c": 0.13408,
    "h": 269.2
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#121C6A
secondary
#A29536
accent
#D93AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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