#122659#122659

#122659 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.096 H 264.8°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#122659
RGBrgb(18, 38, 89)
HSLhsl(223, 66%, 21%)
HSVhsv(223, 80%, 35%)
CMYKcmyk(79.8%, 57.3%, 0%, 65.1%)
CIE-LABlab(16.68, 12.55, -33.09)
CIE-LCHlch(16.68, 35.39, 290.77°)
OKLaboklab(28.62% -0.0086 -0.0953)
OKLCHoklch(28.62% 0.096 264.8)
XYZxyz(2.7451, 2.2358, 9.7361)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122659 #594512
analogous
#124959 #122659 #211259
triadic
#122659 #591226 #265912
tetradic
#122659 #591249 #594512 #125921
square
#122659 #591249 #594512 #125921
split-complementary
#122659 #592112 #495912
monochromatic
#050B19 #081026 #122659 #1C3C8C #2751BF

Accessibility & contrast

On white

14.51
#122659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122659
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122659#FFFFFF#000000##FFFFFF
##1226591.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122659;
/* rgb */ color: rgb(18, 38, 89);
/* oklch */ color: oklch(28.6% 0.096 264.8);
Tailwind
colors: {
  custom: {
    50: '#5c5f88',
    500: '#122659',
    950: '#000000',
  },
}
SCSS
$custom: #122659;
$custom-light: #5c5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#122659",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 89
  },
  "hsl": {
    "h": 223.099,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2862,
    "c": 0.09566,
    "h": 264.8
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#122659
secondary
#927835
accent
#B93FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #122659

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

Preview Lab → · Contrast checker → · Palette generator →

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