#122B58#122B58

#122B58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.087 H 261.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#122B58
RGBrgb(18, 43, 88)
HSLhsl(219, 66%, 21%)
HSVhsv(219, 80%, 35%)
CMYKcmyk(79.5%, 51.1%, 0%, 65.5%)
CIE-LABlab(18.19, 8.40, -29.98)
CIE-LCHlch(18.19, 31.14, 285.65°)
OKLaboklab(29.75% -0.0135 -0.086)
OKLCHoklch(29.75% 0.087 261.1)
XYZxyz(2.8741, 2.5606, 9.5734)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B58 #583F12
analogous
#124E58 #122B58 #1C1258
triadic
#122B58 #58122B #2B5812
tetradic
#122B58 #58124E #583F12 #12581C
square
#122B58 #58124E #583F12 #12581C
split-complementary
#122B58 #581C12 #4E5812
monochromatic
#050C19 #081225 #122B58 #1C448B #275DBE

Accessibility & contrast

On white

13.89
#122B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B58
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B58#FFFFFF#000000##FFFFFF
##122B581.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#032957
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122b58;
/* rgb */ color: rgb(18, 43, 88);
/* oklch */ color: oklch(29.7% 0.087 261.1);
Tailwind
colors: {
  custom: {
    50: '#5b6387',
    500: '#122b58',
    950: '#000000',
  },
}
SCSS
$custom: #122b58;
$custom-light: #5b6387;
$custom-dark: #000000;
JSON
{
  "hex": "#122b58",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 218.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.08709,
    "h": 261.1
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#122B58
secondary
#917035
accent
#AC3FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122B58

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

Preview Lab → · Contrast checker → · Palette generator →

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