#122359#122359

#122359 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.100 H 266.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#122359
RGBrgb(18, 35, 89)
HSLhsl(226, 66%, 21%)
HSVhsv(226, 80%, 35%)
CMYKcmyk(79.8%, 60.7%, 0%, 65.1%)
CIE-LABlab(15.76, 14.79, -34.59)
CIE-LCHlch(15.76, 37.62, 293.16°)
OKLaboklab(27.92% -0.006 -0.0997)
OKLCHoklch(27.92% 0.1 266.6)
XYZxyz(2.6530, 2.0516, 9.7054)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122359 #594812
analogous
#124659 #122359 #241259
triadic
#122359 #591223 #235912
tetradic
#122359 #591246 #594812 #125924
square
#122359 #591246 #594812 #125924
split-complementary
#122359 #592412 #465912
monochromatic
#050A19 #080F26 #122359 #1C378C #274BBF

Accessibility & contrast

On white

14.89
#122359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122359
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122359#FFFFFF#000000##FFFFFF
##1223591.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122359;
/* rgb */ color: rgb(18, 35, 89);
/* oklch */ color: oklch(27.9% 0.100 266.6);
Tailwind
colors: {
  custom: {
    50: '#5c5d88',
    500: '#122359',
    950: '#000000',
  },
}
SCSS
$custom: #122359;
$custom-light: #5c5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#122359",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 89
  },
  "hsl": {
    "h": 225.634,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27923,
    "c": 0.09991,
    "h": 266.6
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#122359
secondary
#927B35
accent
#C03FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #122359

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

Preview Lab → · Contrast checker → · Palette generator →

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