#122C59#122C59

#122C59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.087 H 260.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#122C59
RGBrgb(18, 44, 89)
HSLhsl(218, 66%, 21%)
HSVhsv(218, 80%, 35%)
CMYKcmyk(79.8%, 50.6%, 0%, 65.1%)
CIE-LABlab(18.59, 8.09, -30.01)
CIE-LCHlch(18.59, 31.08, 285.09°)
OKLaboklab(30.08% -0.0143 -0.0861)
OKLCHoklch(30.08% 0.087 260.5)
XYZxyz(2.9527, 2.6509, 9.8053)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C59 #593F12
analogous
#124F59 #122C59 #1B1259
triadic
#122C59 #59122C #2C5912
tetradic
#122C59 #59124F #593F12 #12591B
square
#122C59 #59124F #593F12 #12591B
split-complementary
#122C59 #591B12 #4F5912
monochromatic
#050D19 #081326 #122C59 #1C458C #275EBF

Accessibility & contrast

On white

13.72
#122C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C59
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C59#FFFFFF#000000##FFFFFF
##122C591.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315B
Deuteranopia (green-blind)
#042A58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122c59;
/* rgb */ color: rgb(18, 44, 89);
/* oklch */ color: oklch(30.1% 0.087 260.5);
Tailwind
colors: {
  custom: {
    50: '#5b6488',
    500: '#122c59',
    950: '#000000',
  },
}
SCSS
$custom: #122c59;
$custom-light: #5b6488;
$custom-dark: #000000;
JSON
{
  "hex": "#122c59",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 89
  },
  "hsl": {
    "h": 218.028,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30077,
    "c": 0.08727,
    "h": 260.5
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#122C59
secondary
#927035
accent
#AB3FE9
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #122C59

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

Preview Lab → · Contrast checker → · Palette generator →

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