#122244#122244

#122244 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.068 H 263.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#122244
RGBrgb(18, 34, 68)
HSLhsl(221, 58%, 17%)
HSVhsv(221, 74%, 27%)
CMYKcmyk(73.5%, 50%, 0%, 73.3%)
CIE-LABlab(13.77, 6.54, -23.48)
CIE-LCHlch(13.77, 24.37, 285.57°)
OKLaboklab(25.88% -0.0077 -0.0671)
OKLCHoklch(25.88% 0.068 263.4)
XYZxyz(1.8645, 1.6898, 5.6956)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122244 #443412
analogous
#123B44 #122244 #1B1244
triadic
#122244 #441222 #224412
tetradic
#122244 #44123B #443412 #12441B
square
#122244 #44123B #443412 #12441B
split-complementary
#122244 #441B12 #3B4412
monochromatic
#060C18 #060C18 #122244 #1F3A74 #2C52A5

Accessibility & contrast

On white

15.70
#122244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#122244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122244
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122244#FFFFFF#000000##FFFFFF
##1222441.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122645
Deuteranopia (green-blind)
#092143
Tritanopia (blue-blind)
#002A2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122244;
/* rgb */ color: rgb(18, 34, 68);
/* oklch */ color: oklch(25.9% 0.068 263.4);
Tailwind
colors: {
  custom: {
    50: '#565c78',
    500: '#122244',
    950: '#000000',
  },
}
SCSS
$custom: #122244;
$custom-light: #565c78;
$custom-dark: #000000;
JSON
{
  "hex": "#122244",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 68
  },
  "hsl": {
    "h": 220.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2588,
    "c": 0.0675,
    "h": 263.4
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#122244
secondary
#7D6635
accent
#B046E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122244

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

Preview Lab → · Contrast checker → · Palette generator →

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