#122464#122464

#122464 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.115 H 266.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#122464
RGBrgb(18, 36, 100)
HSLhsl(227, 69%, 23%)
HSVhsv(227, 82%, 39%)
CMYKcmyk(82%, 64%, 0%, 60.8%)
CIE-LABlab(17.04, 18.71, -39.81)
CIE-LCHlch(17.04, 43.98, 295.17°)
OKLaboklab(29.19% -0.0064 -0.115)
OKLCHoklch(29.19% 0.115 266.8)
XYZxyz(3.1798, 2.3101, 12.3324)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122464 #645212
analogous
#124D64 #122464 #291264
triadic
#122464 #641224 #246412
tetradic
#122464 #64124D #645212 #126429
square
#122464 #64124D #645212 #126429
split-complementary
#122464 #642912 #4D6412
monochromatic
#05091A #091130 #122464 #1B3798 #2549CC

Accessibility & contrast

On white

14.36
#122464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122464
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122464#FFFFFF#000000##FFFFFF
##1224641.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122464;
/* rgb */ color: rgb(18, 36, 100);
/* oklch */ color: oklch(29.2% 0.115 266.8);
Tailwind
colors: {
  custom: {
    50: '#5f5e91',
    500: '#122464',
    950: '#000000',
  },
}
SCSS
$custom: #122464;
$custom-light: #5f5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#122464",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 100
  },
  "hsl": {
    "h": 226.829,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29189,
    "c": 0.11522,
    "h": 266.8
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#122464
secondary
#9C8636
accent
#C53BEC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #122464

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

Preview Lab → · Contrast checker → · Palette generator →

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