#121A72#121A72

#121A72 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.147 H 269.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#121A72
RGBrgb(18, 26, 114)
HSLhsl(235, 73%, 26%)
HSVhsv(235, 84%, 45%)
CMYKcmyk(84.2%, 77.2%, 0%, 55.3%)
CIE-LABlab(15.91, 31.22, -50.80)
CIE-LCHlch(15.91, 59.62, 301.58°)
OKLaboklab(28.81% -0.002 -0.1472)
OKLCHoklch(28.81% 0.147 269.2)
XYZxyz(3.6551, 2.0819, 16.1255)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A72 #726A12
analogous
#124A72 #121A72 #3A1272
triadic
#121A72 #72121A #1A7212
tetradic
#121A72 #72124A #726A12 #12723A
square
#121A72 #72124A #726A12 #12723A
split-complementary
#121A72 #723A12 #4A7212
monochromatic
#04061A #0A0E3D #121A72 #1A26A7 #2332DC

Accessibility & contrast

On white

14.83
#121A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#121A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A72
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A72#FFFFFF#000000##FFFFFF
##121A721.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121a72;
/* rgb */ color: rgb(18, 26, 114);
/* oklch */ color: oklch(28.8% 0.147 269.2);
Tailwind
colors: {
  custom: {
    50: '#64579c',
    500: '#121a72',
    950: '#000000',
  },
}
SCSS
$custom: #121a72;
$custom-light: #64579c;
$custom-dark: #000000;
JSON
{
  "hex": "#121a72",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 235,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2881,
    "c": 0.14718,
    "h": 269.2
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#121A72
secondary
#A99F37
accent
#E038EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #121A72

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

Preview Lab → · Contrast checker → · Palette generator →

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