#122B59#122B59

#122B59 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.089 H 261.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#122B59
RGBrgb(18, 43, 89)
HSLhsl(219, 66%, 21%)
HSVhsv(219, 80%, 35%)
CMYKcmyk(79.8%, 51.7%, 0%, 65.1%)
CIE-LABlab(18.26, 8.83, -30.53)
CIE-LCHlch(18.26, 31.78, 286.13°)
OKLaboklab(29.83% -0.0134 -0.0876)
OKLCHoklch(29.83% 0.089 261.3)
XYZxyz(2.9159, 2.5773, 9.7931)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B59 #594012
analogous
#124E59 #122B59 #1C1259
triadic
#122B59 #59122B #2B5912
tetradic
#122B59 #59124E #594012 #12591C
square
#122B59 #59124E #594012 #12591C
split-complementary
#122B59 #591C12 #4E5912
monochromatic
#050C19 #081226 #122B59 #1C448C #275CBF

Accessibility & contrast

On white

13.86
#122B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B59
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B59#FFFFFF#000000##FFFFFF
##122B591.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#012A58
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122b59;
/* rgb */ color: rgb(18, 43, 89);
/* oklch */ color: oklch(29.8% 0.089 261.3);
Tailwind
colors: {
  custom: {
    50: '#5b6388',
    500: '#122b59',
    950: '#000000',
  },
}
SCSS
$custom: #122b59;
$custom-light: #5b6388;
$custom-dark: #000000;
JSON
{
  "hex": "#122b59",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 218.873,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29829,
    "c": 0.08865,
    "h": 261.3
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#122B59
secondary
#927135
accent
#AD3FE9
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #122B59

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

Preview Lab → · Contrast checker → · Palette generator →

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