#122560#122560

#122560 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.108 H 266.1°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#122560
RGBrgb(18, 37, 96)
HSLhsl(225, 68%, 22%)
HSVhsv(225, 81%, 38%)
CMYKcmyk(81.3%, 61.5%, 0%, 62.4%)
CIE-LABlab(16.97, 16.28, -37.28)
CIE-LCHlch(16.97, 40.68, 293.60°)
OKLaboklab(29.03% -0.0073 -0.1076)
OKLCHoklch(29.03% 0.108 266.1)
XYZxyz(3.0216, 2.2959, 11.3480)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122560 #604D12
analogous
#124C60 #122560 #261260
triadic
#122560 #601225 #256012
tetradic
#122560 #60124C #604D12 #126026
square
#122560 #60124C #604D12 #126026
split-complementary
#122560 #602612 #4C6012
monochromatic
#050A1A #08112C #122560 #1C3994 #254DC7

Accessibility & contrast

On white

14.39
#122560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122560
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122560#FFFFFF#000000##FFFFFF
##1225601.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122560;
/* rgb */ color: rgb(18, 37, 96);
/* oklch */ color: oklch(29.0% 0.108 266.1);
Tailwind
colors: {
  custom: {
    50: '#5e5f8e',
    500: '#122560',
    950: '#000000',
  },
}
SCSS
$custom: #122560;
$custom-light: #5e5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122560",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 225.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29026,
    "c": 0.10784,
    "h": 266.1
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#122560
secondary
#988036
accent
#C13DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122560

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

Preview Lab → · Contrast checker → · Palette generator →

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