#121C76#121C76

#121C76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.150 H 268.7°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#121C76
RGBrgb(18, 28, 118)
HSLhsl(234, 74%, 27%)
HSVhsv(234, 85%, 46%)
CMYKcmyk(84.7%, 76.3%, 0%, 53.7%)
CIE-LABlab(16.83, 31.45, -51.86)
CIE-LCHlch(16.83, 60.65, 301.23°)
OKLaboklab(29.6% -0.0033 -0.1503)
OKLCHoklch(29.6% 0.15 268.7)
XYZxyz(3.9336, 2.2666, 17.3662)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C76 #766C12
analogous
#124E76 #121C76 #3A1276
triadic
#121C76 #76121C #1C7612
tetradic
#121C76 #76124E #766C12 #12763A
square
#121C76 #76124E #766C12 #12763A
split-complementary
#121C76 #763A12 #4E7612
monochromatic
#04061B #0A0F41 #121C76 #1A29AB #2537DE

Accessibility & contrast

On white

14.45
#121C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#121C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C76
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C76#FFFFFF#000000##FFFFFF
##121C761.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #121c76;
/* rgb */ color: rgb(18, 28, 118);
/* oklch */ color: oklch(29.6% 0.150 268.7);
Tailwind
colors: {
  custom: {
    50: '#65599f',
    500: '#121c76',
    950: '#000000',
  },
}
SCSS
$custom: #121c76;
$custom-light: #65599f;
$custom-dark: #000000;
JSON
{
  "hex": "#121c76",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 234,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29602,
    "c": 0.15032,
    "h": 268.7
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#121C76
secondary
#ADA137
accent
#DE38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #121C76

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

Preview Lab → · Contrast checker → · Palette generator →

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