#122563#122563

#122563 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.112 H 266.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#122563
RGBrgb(18, 37, 99)
HSLhsl(226, 69%, 23%)
HSVhsv(226, 82%, 39%)
CMYKcmyk(81.8%, 62.6%, 0%, 61.2%)
CIE-LABlab(17.24, 17.55, -38.82)
CIE-LCHlch(17.24, 42.61, 294.33°)
OKLaboklab(29.31% -0.0072 -0.1121)
OKLCHoklch(29.31% 0.112 266.3)
XYZxyz(3.1624, 2.3522, 12.0893)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122563 #635012
analogous
#124D63 #122563 #271263
triadic
#122563 #631225 #256312
tetradic
#122563 #63124D #635012 #126327
square
#122563 #63124D #635012 #126327
split-complementary
#122563 #632712 #4D6312
monochromatic
#050A1A #09122F #122563 #1B3897 #254CCB

Accessibility & contrast

On white

14.28
#122563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122563
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122563#FFFFFF#000000##FFFFFF
##1225631.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122563;
/* rgb */ color: rgb(18, 37, 99);
/* oklch */ color: oklch(29.3% 0.112 266.3);
Tailwind
colors: {
  custom: {
    50: '#5f5f90',
    500: '#122563',
    950: '#000000',
  },
}
SCSS
$custom: #122563;
$custom-light: #5f5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#122563",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 225.926,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2931,
    "c": 0.11236,
    "h": 266.3
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#122563
secondary
#9B8336
accent
#C33CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122563

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

Preview Lab → · Contrast checker → · Palette generator →

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