#122564#122564

#122564 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.114 H 266.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#122564
RGBrgb(18, 37, 100)
HSLhsl(226, 69%, 23%)
HSVhsv(226, 82%, 39%)
CMYKcmyk(82%, 63%, 0%, 60.8%)
CIE-LABlab(17.33, 17.98, -39.33)
CIE-LCHlch(17.33, 43.25, 294.56°)
OKLaboklab(29.41% -0.0071 -0.1136)
OKLCHoklch(29.41% 0.114 266.4)
XYZxyz(3.2105, 2.3715, 12.3427)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122564 #645112
analogous
#124E64 #122564 #281264
triadic
#122564 #641225 #256412
tetradic
#122564 #64124E #645112 #126428
square
#122564 #64124E #645112 #126428
split-complementary
#122564 #642812 #4E6412
monochromatic
#050A1A #091230 #122564 #1B3898 #254BCC

Accessibility & contrast

On white

14.24
#122564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122564
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122564#FFFFFF#000000##FFFFFF
##1225641.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122564;
/* rgb */ color: rgb(18, 37, 100);
/* oklch */ color: oklch(29.4% 0.114 266.4);
Tailwind
colors: {
  custom: {
    50: '#5f5f91',
    500: '#122564',
    950: '#000000',
  },
}
SCSS
$custom: #122564;
$custom-light: #5f5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#122564",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 226.098,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.11385,
    "h": 266.4
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#122564
secondary
#9C8436
accent
#C33BEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040D
muted
#79797D

Preview Lab

Preview with #122564

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

Preview Lab → · Contrast checker → · Palette generator →

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