#121B72#121B72

#121B72 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.146 H 269.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#121B72
RGBrgb(18, 27, 114)
HSLhsl(234, 73%, 26%)
HSVhsv(234, 84%, 45%)
CMYKcmyk(84.2%, 76.3%, 0%, 55.3%)
CIE-LABlab(16.14, 30.58, -50.42)
CIE-LCHlch(16.14, 58.97, 301.24°)
OKLaboklab(28.97% -0.0024 -0.1461)
OKLCHoklch(28.97% 0.146 269.1)
XYZxyz(3.6776, 2.1269, 16.1330)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B72 #726912
analogous
#124B72 #121B72 #391272
triadic
#121B72 #72121B #1B7212
tetradic
#121B72 #72124B #726912 #127239
square
#121B72 #72124B #726912 #127239
split-complementary
#121B72 #723912 #4B7212
monochromatic
#04061A #0A0E3D #121B72 #1A28A7 #2334DC

Accessibility & contrast

On white

14.73
#121B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#121B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B72
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B72#FFFFFF#000000##FFFFFF
##121B721.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121b72;
/* rgb */ color: rgb(18, 27, 114);
/* oklch */ color: oklch(29.0% 0.146 269.1);
Tailwind
colors: {
  custom: {
    50: '#64589c',
    500: '#121b72',
    950: '#000000',
  },
}
SCSS
$custom: #121b72;
$custom-light: #64589c;
$custom-dark: #000000;
JSON
{
  "hex": "#121b72",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 234.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28973,
    "c": 0.1461,
    "h": 269.1
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#121B72
secondary
#A99E37
accent
#DE38EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #121B72

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

Preview Lab → · Contrast checker → · Palette generator →

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