#122859#122859

#122859 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.093 H 263.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#122859
RGBrgb(18, 40, 89)
HSLhsl(221, 66%, 21%)
HSVhsv(221, 80%, 35%)
CMYKcmyk(79.8%, 55.1%, 0%, 65.1%)
CIE-LABlab(17.31, 11.06, -32.08)
CIE-LCHlch(17.31, 33.93, 289.02°)
OKLaboklab(29.1% -0.0105 -0.0922)
OKLCHoklch(29.1% 0.093 263.5)
XYZxyz(2.8108, 2.3671, 9.7580)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122859 #594312
analogous
#124B59 #122859 #1F1259
triadic
#122859 #591228 #285912
tetradic
#122859 #59124B #594312 #12591F
square
#122859 #59124B #594312 #12591F
split-complementary
#122859 #591F12 #4B5912
monochromatic
#050B19 #081126 #122859 #1C3F8C #2756BF

Accessibility & contrast

On white

14.25
#122859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122859
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122859#FFFFFF#000000##FFFFFF
##1228591.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092E5B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122859;
/* rgb */ color: rgb(18, 40, 89);
/* oklch */ color: oklch(29.1% 0.093 263.5);
Tailwind
colors: {
  custom: {
    50: '#5c6188',
    500: '#122859',
    950: '#000000',
  },
}
SCSS
$custom: #122859;
$custom-light: #5c6188;
$custom-dark: #000000;
JSON
{
  "hex": "#122859",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 221.408,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29097,
    "c": 0.09283,
    "h": 263.5
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#122859
secondary
#927535
accent
#B43FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #122859

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

Preview Lab → · Contrast checker → · Palette generator →

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