#122544#122544

#122544 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.7% C 0.063 H 259.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#122544
RGBrgb(18, 37, 68)
HSLhsl(217, 58%, 17%)
HSVhsv(217, 74%, 27%)
CMYKcmyk(73.5%, 45.6%, 0%, 73.3%)
CIE-LABlab(14.78, 4.28, -21.85)
CIE-LCHlch(14.78, 22.27, 281.09°)
OKLaboklab(26.67% -0.0113 -0.0622)
OKLCHoklch(26.67% 0.063 259.7)
XYZxyz(1.9540, 1.8689, 5.7255)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122544 #443112
analogous
#123E44 #122544 #181244
triadic
#122544 #441225 #254412
tetradic
#122544 #44123E #443112 #124418
square
#122544 #44123E #443112 #124418
split-complementary
#122544 #441812 #3E4412
monochromatic
#060D18 #060D18 #122544 #1F3F74 #2C5AA5

Accessibility & contrast

On white

15.29
#122544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122544
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122544#FFFFFF#000000##FFFFFF
##1225441.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172845
Deuteranopia (green-blind)
#0F2343
Tritanopia (blue-blind)
#002C31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122544;
/* rgb */ color: rgb(18, 37, 68);
/* oklch */ color: oklch(26.7% 0.063 259.7);
Tailwind
colors: {
  custom: {
    50: '#565f78',
    500: '#122544',
    950: '#000000',
  },
}
SCSS
$custom: #122544;
$custom-light: #565f78;
$custom-dark: #000000;
JSON
{
  "hex": "#122544",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 68
  },
  "hsl": {
    "h": 217.2,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26665,
    "c": 0.06327,
    "h": 259.7
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#122544
secondary
#7D6235
accent
#A646E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122544

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

Preview Lab → · Contrast checker → · Palette generator →

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