#122561#122561

#122561 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.109 H 266.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#122561
RGBrgb(18, 37, 97)
HSLhsl(226, 69%, 23%)
HSVhsv(226, 81%, 38%)
CMYKcmyk(81.4%, 61.9%, 0%, 62%)
CIE-LABlab(17.06, 16.71, -37.79)
CIE-LCHlch(17.06, 41.32, 293.85°)
OKLaboklab(29.12% -0.0072 -0.1091)
OKLCHoklch(29.12% 0.109 266.2)
XYZxyz(3.0679, 2.3145, 11.5920)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122561 #614E12
analogous
#124C61 #122561 #271261
triadic
#122561 #611225 #256112
tetradic
#122561 #61124C #614E12 #126127
square
#122561 #61124C #614E12 #126127
split-complementary
#122561 #612712 #4C6112
monochromatic
#050A1A #08112D #122561 #1C3995 #254CC8

Accessibility & contrast

On white

14.35
#122561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122561
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122561#FFFFFF#000000##FFFFFF
##1225611.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122561;
/* rgb */ color: rgb(18, 37, 97);
/* oklch */ color: oklch(29.1% 0.109 266.2);
Tailwind
colors: {
  custom: {
    50: '#5e5f8e',
    500: '#122561',
    950: '#000000',
  },
}
SCSS
$custom: #122561;
$custom-light: #5e5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122561",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 97
  },
  "hsl": {
    "h": 225.57,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2912,
    "c": 0.10935,
    "h": 266.2
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#122561
secondary
#998136
accent
#C13CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122561

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

Preview Lab → · Contrast checker → · Palette generator →

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