#122F59#122F59

#122F59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.083 H 258.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#122F59
RGBrgb(18, 47, 89)
HSLhsl(215, 66%, 21%)
HSVhsv(215, 80%, 35%)
CMYKcmyk(79.8%, 47.2%, 0%, 65.1%)
CIE-LABlab(19.57, 5.90, -28.44)
CIE-LCHlch(19.57, 29.05, 281.72°)
OKLaboklab(30.83% -0.0173 -0.0814)
OKLCHoklch(30.83% 0.083 258)
XYZxyz(3.0685, 2.8826, 9.8439)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F59 #593C12
analogous
#125259 #122F59 #181259
triadic
#122F59 #59122F #2F5912
tetradic
#122F59 #591252 #593C12 #125918
square
#122F59 #591252 #593C12 #125918
split-complementary
#122F59 #591812 #525912
monochromatic
#050D19 #081426 #122F59 #1C4A8C #2765BF

Accessibility & contrast

On white

13.32
#122F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F59
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F59#FFFFFF#000000##FFFFFF
##122F591.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335B
Deuteranopia (green-blind)
#0D2C58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122f59;
/* rgb */ color: rgb(18, 47, 89);
/* oklch */ color: oklch(30.8% 0.083 258.0);
Tailwind
colors: {
  custom: {
    50: '#5b6788',
    500: '#122f59',
    950: '#000000',
  },
}
SCSS
$custom: #122f59;
$custom-light: #5b6788;
$custom-dark: #000000;
JSON
{
  "hex": "#122f59",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 215.493,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30832,
    "c": 0.08322,
    "h": 258
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#122F59
secondary
#926C35
accent
#A43FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #122F59

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

Preview Lab → · Contrast checker → · Palette generator →

#122F59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva