#122B57#122B57

#122B57 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.086 H 260.8°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#122B57
RGBrgb(18, 43, 87)
HSLhsl(218, 66%, 21%)
HSVhsv(218, 79%, 34%)
CMYKcmyk(79.3%, 50.6%, 0%, 65.9%)
CIE-LABlab(18.12, 7.97, -29.43)
CIE-LCHlch(18.12, 30.49, 285.15°)
OKLaboklab(29.67% -0.0137 -0.0844)
OKLCHoklch(29.67% 0.086 260.8)
XYZxyz(2.8330, 2.5442, 9.3567)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B57 #573E12
analogous
#124D57 #122B57 #1B1257
triadic
#122B57 #57122B #2B5712
tetradic
#122B57 #57124D #573E12 #12571B
square
#122B57 #57124D #573E12 #12571B
split-complementary
#122B57 #571B12 #4D5712
monochromatic
#050D19 #081224 #122B57 #1C448A #275DBC

Accessibility & contrast

On white

13.92
#122B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B57
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B57#FFFFFF#000000##FFFFFF
##122B571.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143059
Deuteranopia (green-blind)
#042956
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122b57;
/* rgb */ color: rgb(18, 43, 87);
/* oklch */ color: oklch(29.7% 0.086 260.8);
Tailwind
colors: {
  custom: {
    50: '#5b6387',
    500: '#122b57',
    950: '#000000',
  },
}
SCSS
$custom: #122b57;
$custom-light: #5b6387;
$custom-dark: #000000;
JSON
{
  "hex": "#122b57",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 218.261,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29668,
    "c": 0.08552,
    "h": 260.8
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#122B57
secondary
#906F35
accent
#AB3FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122B57

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

Preview Lab → · Contrast checker → · Palette generator →

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