#122D59#122D59

#122D59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.086 H 259.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#122D59
RGBrgb(18, 45, 89)
HSLhsl(217, 66%, 21%)
HSVhsv(217, 80%, 35%)
CMYKcmyk(79.8%, 49.4%, 0%, 65.1%)
CIE-LABlab(18.91, 7.36, -29.49)
CIE-LCHlch(18.91, 30.39, 284.01°)
OKLaboklab(30.33% -0.0153 -0.0845)
OKLCHoklch(30.33% 0.086 259.7)
XYZxyz(2.9904, 2.7263, 9.8179)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D59 #593E12
analogous
#125059 #122D59 #1A1259
triadic
#122D59 #59122D #2D5912
tetradic
#122D59 #591250 #593E12 #12591A
square
#122D59 #591250 #593E12 #12591A
split-complementary
#122D59 #591A12 #505912
monochromatic
#050D19 #081326 #122D59 #1C478C #2760BF

Accessibility & contrast

On white

13.59
#122D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D59
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D59#FFFFFF#000000##FFFFFF
##122D591.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315B
Deuteranopia (green-blind)
#072B58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122d59;
/* rgb */ color: rgb(18, 45, 89);
/* oklch */ color: oklch(30.3% 0.086 259.7);
Tailwind
colors: {
  custom: {
    50: '#5b6588',
    500: '#122d59',
    950: '#000000',
  },
}
SCSS
$custom: #122d59;
$custom-light: #5b6588;
$custom-dark: #000000;
JSON
{
  "hex": "#122d59",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 217.183,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30327,
    "c": 0.08591,
    "h": 259.7
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#122D59
secondary
#926E35
accent
#A83FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122D59

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

Preview Lab → · Contrast checker → · Palette generator →

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