#122059#122059

#122059 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.104 H 268.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#122059
RGBrgb(18, 32, 89)
HSLhsl(228, 66%, 21%)
HSVhsv(228, 80%, 35%)
CMYKcmyk(79.8%, 64%, 0%, 65.1%)
CIE-LABlab(14.86, 17.03, -36.05)
CIE-LCHlch(14.86, 39.87, 295.29°)
OKLaboklab(27.25% -0.0035 -0.1041)
OKLCHoklch(27.25% 0.104 268.1)
XYZxyz(2.5685, 1.8826, 9.6773)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122059 #594B12
analogous
#124359 #122059 #271259
triadic
#122059 #591220 #205912
tetradic
#122059 #591243 #594B12 #125927
square
#122059 #591243 #594B12 #125927
split-complementary
#122059 #592712 #435912
monochromatic
#050919 #080E26 #122059 #1C328C #2745BF

Accessibility & contrast

On white

15.25
#122059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#122059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122059
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122059#FFFFFF#000000##FFFFFF
##1220591.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122059;
/* rgb */ color: rgb(18, 32, 89);
/* oklch */ color: oklch(27.3% 0.104 268.1);
Tailwind
colors: {
  custom: {
    50: '#5c5b88',
    500: '#122059',
    950: '#000000',
  },
}
SCSS
$custom: #122059;
$custom-light: #5c5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#122059",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 228.169,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27252,
    "c": 0.10413,
    "h": 268.1
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#122059
secondary
#927F35
accent
#C83FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #122059

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

Preview Lab → · Contrast checker → · Palette generator →

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