#122041#122041

#122041 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.065 H 264.8°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#122041
RGBrgb(18, 32, 65)
HSLhsl(222, 57%, 16%)
HSVhsv(222, 72%, 25%)
CMYKcmyk(72.3%, 50.8%, 0%, 74.5%)
CIE-LABlab(12.88, 6.78, -22.80)
CIE-LCHlch(12.88, 23.79, 286.57°)
OKLaboklab(25.13% -0.0059 -0.0651)
OKLCHoklch(25.13% 0.065 264.8)
XYZxyz(1.7198, 1.5431, 5.2072)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122041 #413312
analogous
#123841 #122041 #1C1241
triadic
#122041 #411220 #204112
tetradic
#122041 #411238 #413312 #12411C
square
#122041 #411238 #413312 #12411C
split-complementary
#122041 #411C12 #384112
monochromatic
#070C18 #070C18 #122041 #1F3871 #2D4FA1

Accessibility & contrast

On white

16.05
#122041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#122041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122041
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122041#FFFFFF#000000##FFFFFF
##1220411.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102442
Deuteranopia (green-blind)
#091F40
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #122041;
/* rgb */ color: rgb(18, 32, 65);
/* oklch */ color: oklch(25.1% 0.065 264.8);
Tailwind
colors: {
  custom: {
    50: '#565b76',
    500: '#122041',
    950: '#000000',
  },
}
SCSS
$custom: #122041;
$custom-light: #565b76;
$custom-dark: #000000;
JSON
{
  "hex": "#122041",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 222.128,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25129,
    "c": 0.06539,
    "h": 264.8
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#122041
secondary
#7A6535
accent
#B348E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #122041

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

Preview Lab → · Contrast checker → · Palette generator →

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