#121B75#121B75

#121B75 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.150 H 268.9°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#121B75
RGBrgb(18, 27, 117)
HSLhsl(235, 73%, 26%)
HSVhsv(235, 85%, 46%)
CMYKcmyk(84.6%, 76.9%, 0%, 54.1%)
CIE-LABlab(16.49, 31.71, -51.78)
CIE-LCHlch(16.49, 60.72, 301.48°)
OKLaboklab(29.32% -0.0028 -0.15)
OKLCHoklch(29.32% 0.15 268.9)
XYZxyz(3.8512, 2.1964, 17.0471)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B75 #756C12
analogous
#124D75 #121B75 #3B1275
triadic
#121B75 #75121B #1B7512
tetradic
#121B75 #75124D #756C12 #12753B
square
#121B75 #75124D #756C12 #12753B
split-complementary
#121B75 #753B12 #4D7512
monochromatic
#04061B #0A0F40 #121B75 #1A27AA #2435DD

Accessibility & contrast

On white

14.59
#121B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#121B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B75
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B75#FFFFFF#000000##FFFFFF
##121B751.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #121b75;
/* rgb */ color: rgb(18, 27, 117);
/* oklch */ color: oklch(29.3% 0.150 268.9);
Tailwind
colors: {
  custom: {
    50: '#65589e',
    500: '#121b75',
    950: '#000000',
  },
}
SCSS
$custom: #121b75;
$custom-light: #65589e;
$custom-dark: #000000;
JSON
{
  "hex": "#121b75",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 234.545,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29323,
    "c": 0.15008,
    "h": 268.9
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #121B75

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

Preview Lab → · Contrast checker → · Palette generator →

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