#121F49#121F49

#121F49 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.080 H 267.5°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#121F49
RGBrgb(18, 31, 73)
HSLhsl(226, 60%, 18%)
HSVhsv(226, 75%, 29%)
CMYKcmyk(75.3%, 57.5%, 0%, 71.4%)
CIE-LABlab(13.17, 10.97, -27.91)
CIE-LCHlch(13.17, 29.98, 291.46°)
OKLaboklab(25.54% -0.0035 -0.0801)
OKLCHoklch(25.54% 0.08 267.5)
XYZxyz(1.9416, 1.5894, 6.5065)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F49 #493C12
analogous
#123A49 #121F49 #201249
triadic
#121F49 #49121F #1F4912
tetradic
#121F49 #49123A #493C12 #124920
square
#121F49 #49123A #493C12 #124920
split-complementary
#121F49 #492012 #3A4912
monochromatic
#060A19 #060A19 #121F49 #1E347A #2A49AB

Accessibility & contrast

On white

15.93
#121F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F49
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F49#FFFFFF#000000##FFFFFF
##121F491.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06254A
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121f49;
/* rgb */ color: rgb(18, 31, 73);
/* oklch */ color: oklch(25.5% 0.080 267.5);
Tailwind
colors: {
  custom: {
    50: '#585a7c',
    500: '#121f49',
    950: '#000000',
  },
}
SCSS
$custom: #121f49;
$custom-light: #585a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#121f49",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 225.818,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25544,
    "c": 0.08022,
    "h": 267.5
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#121F49
secondary
#827035
accent
#BE44E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #121F49

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

Preview Lab → · Contrast checker → · Palette generator →

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