#121C50#121C50

#121C50 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.096 H 269.9°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#121C50
RGBrgb(18, 28, 80)
HSLhsl(230, 63%, 19%)
HSVhsv(230, 78%, 31%)
CMYKcmyk(77.5%, 65%, 0%, 68.6%)
CIE-LABlab(12.85, 16.23, -33.23)
CIE-LCHlch(12.85, 36.98, 296.03°)
OKLaboklab(25.5% -0.0002 -0.0958)
OKLCHoklch(25.5% 0.096 269.9)
XYZxyz(2.1122, 1.5381, 7.7734)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C50 #504612
analogous
#123B50 #121C50 #271250
triadic
#121C50 #50121C #1C5012
tetradic
#121C50 #50123B #504612 #125027
square
#121C50 #50123B #504612 #125027
split-complementary
#121C50 #502712 #3B5012
monochromatic
#060919 #070B1E #121C50 #1D2D82 #283FB4

Accessibility & contrast

On white

16.06
#121C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C50
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C50#FFFFFF#000000##FFFFFF
##121C501.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121c50;
/* rgb */ color: rgb(18, 28, 80);
/* oklch */ color: oklch(25.5% 0.096 269.9);
Tailwind
colors: {
  custom: {
    50: '#5a5782',
    500: '#121c50',
    950: '#000000',
  },
}
SCSS
$custom: #121c50;
$custom-light: #5a5782;
$custom-dark: #000000;
JSON
{
  "hex": "#121c50",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 230.323,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25497,
    "c": 0.09585,
    "h": 269.9
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#121C50
secondary
#897B35
accent
#CC41E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #121C50

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

Preview Lab → · Contrast checker → · Palette generator →

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