#121C4C#121C4C

#121C4C is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.090 H 269.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#121C4C
RGBrgb(18, 28, 76)
HSLhsl(230, 62%, 18%)
HSVhsv(230, 76%, 30%)
CMYKcmyk(76.3%, 63.2%, 0%, 70.2%)
CIE-LABlab(12.48, 14.54, -31.08)
CIE-LCHlch(12.48, 34.31, 295.07°)
OKLaboklab(25.11% -0.0002 -0.0895)
OKLCHoklch(25.11% 0.09 269.8)
XYZxyz(1.9688, 1.4807, 7.0181)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C4C #4C4212
analogous
#12394C #121C4C #25124C
triadic
#121C4C #4C121C #1C4C12
tetradic
#121C4C #4C1239 #4C4212 #124C25
square
#121C4C #4C1239 #4C4212 #124C25
split-complementary
#121C4C #4C2512 #394C12
monochromatic
#060919 #060A1B #121C4C #1E2E7D #2940AF

Accessibility & contrast

On white

16.20
#121C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C4C
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C4C#FFFFFF#000000##FFFFFF
##121C4C1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121c4c;
/* rgb */ color: rgb(18, 28, 76);
/* oklch */ color: oklch(25.1% 0.090 269.8);
Tailwind
colors: {
  custom: {
    50: '#59577e',
    500: '#121c4c',
    950: '#000000',
  },
}
SCSS
$custom: #121c4c;
$custom-light: #59577e;
$custom-dark: #000000;
JSON
{
  "hex": "#121c4c",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 229.655,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25112,
    "c": 0.08952,
    "h": 269.8
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#121C4C
secondary
#857735
accent
#C943E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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