#122241#122241

#122241 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.6% C 0.062 H 262.3°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#122241
RGBrgb(18, 34, 65)
HSLhsl(220, 57%, 16%)
HSVhsv(220, 72%, 25%)
CMYKcmyk(72.3%, 47.7%, 0%, 74.5%)
CIE-LABlab(13.56, 5.27, -21.72)
CIE-LCHlch(13.56, 22.35, 283.63°)
OKLaboklab(25.65% -0.0084 -0.0619)
OKLCHoklch(25.65% 0.062 262.3)
XYZxyz(1.7753, 1.6541, 5.2257)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122241 #413112
analogous
#123A41 #122241 #1A1241
triadic
#122241 #411222 #224112
tetradic
#122241 #41123A #413112 #12411A
square
#122241 #41123A #413112 #12411A
split-complementary
#122241 #411A12 #3A4112
monochromatic
#070D18 #070D18 #122241 #1F3B71 #2D54A1

Accessibility & contrast

On white

15.78
#122241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#122241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122241
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122241#FFFFFF#000000##FFFFFF
##1222411.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142542
Deuteranopia (green-blind)
#0D2140
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122241;
/* rgb */ color: rgb(18, 34, 65);
/* oklch */ color: oklch(25.6% 0.062 262.3);
Tailwind
colors: {
  custom: {
    50: '#565c76',
    500: '#122241',
    950: '#000000',
  },
}
SCSS
$custom: #122241;
$custom-light: #565c76;
$custom-dark: #000000;
JSON
{
  "hex": "#122241",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 65
  },
  "hsl": {
    "h": 219.574,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25649,
    "c": 0.06247,
    "h": 262.3
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#122241
secondary
#7A6235
accent
#AC48E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #122241

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

Preview Lab → · Contrast checker → · Palette generator →

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