#121B73#121B73

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

Color values

HEX#121B73
RGBrgb(18, 27, 115)
HSLhsl(234, 73%, 26%)
HSVhsv(234, 84%, 45%)
CMYKcmyk(84.3%, 76.5%, 0%, 54.9%)
CIE-LABlab(16.25, 30.96, -50.88)
CIE-LCHlch(16.25, 59.55, 301.32°)
OKLaboklab(29.09% -0.0025 -0.1474)
OKLCHoklch(29.09% 0.147 269)
XYZxyz(3.7348, 2.1498, 16.4344)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B73 #736A12
analogous
#124B73 #121B73 #391273
triadic
#121B73 #73121B #1B7312
tetradic
#121B73 #73124B #736A12 #127339
square
#121B73 #73124B #736A12 #127339
split-complementary
#121B73 #733912 #4B7312
monochromatic
#04061A #0A0F3E #121B73 #1A27A8 #2334DD

Accessibility & contrast

On white

14.69
#121B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B73
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B73#FFFFFF#000000##FFFFFF
##121B731.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121b73;
/* rgb */ color: rgb(18, 27, 115);
/* oklch */ color: oklch(29.1% 0.147 269.0);
Tailwind
colors: {
  custom: {
    50: '#64589c',
    500: '#121b73',
    950: '#000000',
  },
}
SCSS
$custom: #121b73;
$custom-light: #64589c;
$custom-dark: #000000;
JSON
{
  "hex": "#121b73",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 234.433,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29089,
    "c": 0.14743,
    "h": 269
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#121B73
secondary
#AA9F37
accent
#DF38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121B73

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

Preview Lab → · Contrast checker → · Palette generator →

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