#121F44#121F44

#121F44 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.072 H 266.7°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#121F44
RGBrgb(18, 31, 68)
HSLhsl(224, 58%, 17%)
HSVhsv(224, 74%, 27%)
CMYKcmyk(73.5%, 54.4%, 0%, 73.3%)
CIE-LABlab(12.77, 8.83, -25.07)
CIE-LCHlch(12.77, 26.58, 289.40°)
OKLaboklab(25.12% -0.0042 -0.0718)
OKLCHoklch(25.12% 0.072 266.7)
XYZxyz(1.7825, 1.5258, 5.6683)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F44 #443712
analogous
#123844 #121F44 #1E1244
triadic
#121F44 #44121F #1F4412
tetradic
#121F44 #441238 #443712 #12441E
square
#121F44 #441238 #443712 #12441E
split-complementary
#121F44 #441E12 #384412
monochromatic
#060B18 #060B18 #121F44 #1F3574 #2C4BA5

Accessibility & contrast

On white

16.09
#121F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F44
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F44#FFFFFF#000000##FFFFFF
##121F441.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2345
Deuteranopia (green-blind)
#031F43
Tritanopia (blue-blind)
#00282E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121f44;
/* rgb */ color: rgb(18, 31, 68);
/* oklch */ color: oklch(25.1% 0.072 266.7);
Tailwind
colors: {
  custom: {
    50: '#565a78',
    500: '#121f44',
    950: '#000000',
  },
}
SCSS
$custom: #121f44;
$custom-light: #565a78;
$custom-dark: #000000;
JSON
{
  "hex": "#121f44",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 224.4,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25117,
    "c": 0.07193,
    "h": 266.7
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#121F44
secondary
#7D6A35
accent
#B946E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121F44

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

Preview Lab → · Contrast checker → · Palette generator →

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