#122141#122141

#122141 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.064 H 263.6°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#122141
RGBrgb(18, 33, 65)
HSLhsl(221, 57%, 16%)
HSVhsv(221, 72%, 25%)
CMYKcmyk(72.3%, 49.2%, 0%, 74.5%)
CIE-LABlab(13.22, 6.02, -22.26)
CIE-LCHlch(13.22, 23.06, 285.13°)
OKLaboklab(25.39% -0.0071 -0.0635)
OKLCHoklch(25.39% 0.064 263.6)
XYZxyz(1.7471, 1.5978, 5.2163)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122141 #413212
analogous
#123941 #122141 #1B1241
triadic
#122141 #411221 #214112
tetradic
#122141 #411239 #413212 #12411B
square
#122141 #411239 #413212 #12411B
split-complementary
#122141 #411B12 #394112
monochromatic
#070C18 #070C18 #122141 #1F3971 #2D52A1

Accessibility & contrast

On white

15.91
#122141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#122141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122141
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122141#FFFFFF#000000##FFFFFF
##1221411.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122442
Deuteranopia (green-blind)
#0B2040
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #122141;
/* rgb */ color: rgb(18, 33, 65);
/* oklch */ color: oklch(25.4% 0.064 263.6);
Tailwind
colors: {
  custom: {
    50: '#565b76',
    500: '#122141',
    950: '#000000',
  },
}
SCSS
$custom: #122141;
$custom-light: #565b76;
$custom-dark: #000000;
JSON
{
  "hex": "#122141",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 65
  },
  "hsl": {
    "h": 220.851,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25388,
    "c": 0.06392,
    "h": 263.6
  },
  "luminance": 0.01598
}

Semantic roles & 50–950 ramp

primary
#122141
secondary
#7A6435
accent
#AF48E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #122141

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

Preview Lab → · Contrast checker → · Palette generator →

#122141 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva