#121F75#121F75

#121F75 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.146 H 268.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#121F75
RGBrgb(18, 31, 117)
HSLhsl(232, 73%, 26%)
HSVhsv(232, 85%, 46%)
CMYKcmyk(84.6%, 73.5%, 0%, 54.1%)
CIE-LABlab(17.43, 29.10, -50.23)
CIE-LCHlch(17.43, 58.05, 300.09°)
OKLaboklab(30% -0.0044 -0.1456)
OKLCHoklch(30% 0.146 268.3)
XYZxyz(3.9492, 2.3925, 17.0798)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F75 #756812
analogous
#125175 #121F75 #371275
triadic
#121F75 #75121F #1F7512
tetradic
#121F75 #751251 #756812 #127537
square
#121F75 #751251 #756812 #127537
split-complementary
#121F75 #753712 #517512
monochromatic
#04071B #0A1140 #121F75 #1A2DAA #243CDD

Accessibility & contrast

On white

14.20
#121F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#121F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F75
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F75#FFFFFF#000000##FFFFFF
##121F751.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #121f75;
/* rgb */ color: rgb(18, 31, 117);
/* oklch */ color: oklch(30.0% 0.146 268.3);
Tailwind
colors: {
  custom: {
    50: '#645b9e',
    500: '#121f75',
    950: '#000000',
  },
}
SCSS
$custom: #121f75;
$custom-light: #645b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#121f75",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 232.121,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29997,
    "c": 0.14562,
    "h": 268.3
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#121F75
secondary
#AC9C37
accent
#D838F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #121F75

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

Preview Lab → · Contrast checker → · Palette generator →

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