#121A74#121A74

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

Color values

HEX#121A74
RGBrgb(18, 26, 116)
HSLhsl(235, 73%, 26%)
HSVhsv(235, 84%, 45%)
CMYKcmyk(84.5%, 77.6%, 0%, 54.5%)
CIE-LABlab(16.14, 31.97, -51.70)
CIE-LCHlch(16.14, 60.79, 301.73°)
OKLaboklab(29.05% -0.0023 -0.1498)
OKLCHoklch(29.05% 0.15 269.1)
XYZxyz(3.7702, 2.1279, 16.7316)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A74 #746C12
analogous
#124B74 #121A74 #3B1274
triadic
#121A74 #74121A #1A7412
tetradic
#121A74 #74124B #746C12 #12743B
square
#121A74 #74124B #746C12 #12743B
split-complementary
#121A74 #743B12 #4B7412
monochromatic
#04061A #0A0E3F #121A74 #1A26A9 #2333DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121A74#FFFFFF#000000##FFFFFF
##121A741.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)
#002D77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121a74;
/* rgb */ color: rgb(18, 26, 116);
/* oklch */ color: oklch(29.0% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#65579d',
    500: '#121a74',
    950: '#000000',
  },
}
SCSS
$custom: #121a74;
$custom-light: #65579d;
$custom-dark: #000000;
JSON
{
  "hex": "#121a74",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 235.102,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29045,
    "c": 0.14982,
    "h": 269.1
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#121A74
secondary
#ABA137
accent
#E138F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121A74

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

Preview Lab → · Contrast checker → · Palette generator →

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