#121D6A#121D6A

#121D6A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.133 H 269.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#121D6A
RGBrgb(18, 29, 106)
HSLhsl(233, 71%, 24%)
HSVhsv(233, 83%, 42%)
CMYKcmyk(83%, 72.6%, 0%, 58.4%)
CIE-LABlab(15.74, 26.15, -45.88)
CIE-LCHlch(15.74, 52.81, 299.68°)
OKLaboklab(28.42% -0.0023 -0.1329)
OKLCHoklch(28.42% 0.133 269)
XYZxyz(3.2894, 2.0476, 13.8547)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D6A #6A5F12
analogous
#12496A #121D6A #33126A
triadic
#121D6A #6A121D #1D6A12
tetradic
#121D6A #6A1249 #6A5F12 #126A33
square
#121D6A #6A1249 #6A5F12 #126A33
split-complementary
#121D6A #6A3312 #496A12
monochromatic
#04071A #090F36 #121D6A #1B2B9E #243AD3

Accessibility & contrast

On white

14.90
#121D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#121D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D6A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D6A#FFFFFF#000000##FFFFFF
##121D6A1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121d6a;
/* rgb */ color: rgb(18, 29, 106);
/* oklch */ color: oklch(28.4% 0.133 269.0);
Tailwind
colors: {
  custom: {
    50: '#615995',
    500: '#121d6a',
    950: '#000000',
  },
}
SCSS
$custom: #121d6a;
$custom-light: #615995;
$custom-dark: #000000;
JSON
{
  "hex": "#121d6a",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 232.5,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28416,
    "c": 0.13289,
    "h": 269
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#121D6A
secondary
#A29436
accent
#D73AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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