#122541#122541

#122541 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.4% C 0.058 H 258.0°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#122541
RGBrgb(18, 37, 65)
HSLhsl(216, 57%, 16%)
HSVhsv(216, 72%, 25%)
CMYKcmyk(72.3%, 43.1%, 0%, 74.5%)
CIE-LABlab(14.59, 3.02, -20.08)
CIE-LCHlch(14.59, 20.31, 278.54°)
OKLaboklab(26.45% -0.0121 -0.0571)
OKLCHoklch(26.45% 0.058 258)
XYZxyz(1.8648, 1.8332, 5.2556)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122541 #412E12
analogous
#123D41 #122541 #171241
triadic
#122541 #411225 #254112
tetradic
#122541 #41123D #412E12 #124117
square
#122541 #41123D #412E12 #124117
split-complementary
#122541 #411712 #3D4112
monochromatic
#070E18 #070E18 #122541 #1F4071 #2D5CA1

Accessibility & contrast

On white

15.37
#122541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122541
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122541#FFFFFF#000000##FFFFFF
##1225411.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192742
Deuteranopia (green-blind)
#122340
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122541;
/* rgb */ color: rgb(18, 37, 65);
/* oklch */ color: oklch(26.4% 0.058 258.0);
Tailwind
colors: {
  custom: {
    50: '#565f76',
    500: '#122541',
    950: '#000000',
  },
}
SCSS
$custom: #122541;
$custom-light: #565f76;
$custom-dark: #000000;
JSON
{
  "hex": "#122541",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 215.745,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26448,
    "c": 0.05833,
    "h": 258
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#122541
secondary
#7A5E35
accent
#A248E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #122541

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

Preview Lab → · Contrast checker → · Palette generator →

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