#122B51#122B51

#122B51 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.076 H 258.7°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#122B51
RGBrgb(18, 43, 81)
HSLhsl(216, 64%, 19%)
HSVhsv(216, 78%, 32%)
CMYKcmyk(77.8%, 46.9%, 0%, 68.2%)
CIE-LABlab(17.69, 5.39, -26.09)
CIE-LCHlch(17.69, 26.64, 281.68°)
OKLaboklab(29.2% -0.015 -0.0746)
OKLCHoklch(29.2% 0.076 258.7)
XYZxyz(2.5980, 2.4502, 8.1190)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B51 #513812
analogous
#124B51 #122B51 #181251
triadic
#122B51 #51122B #2B5112
tetradic
#122B51 #51124B #513812 #125118
square
#122B51 #51124B #513812 #125118
split-complementary
#122B51 #511812 #4B5112
monochromatic
#060D19 #07101F #122B51 #1D4683 #2860B5

Accessibility & contrast

On white

14.09
#122B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B51
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B51#FFFFFF#000000##FFFFFF
##122B511.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#0E2950
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122b51;
/* rgb */ color: rgb(18, 43, 81);
/* oklch */ color: oklch(29.2% 0.076 258.7);
Tailwind
colors: {
  custom: {
    50: '#596382',
    500: '#122b51',
    950: '#000000',
  },
}
SCSS
$custom: #122b51;
$custom-light: #596382;
$custom-dark: #000000;
JSON
{
  "hex": "#122b51",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 81
  },
  "hsl": {
    "h": 216.19,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29203,
    "c": 0.07607,
    "h": 258.7
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#122B51
secondary
#8A6835
accent
#A541E7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #122B51

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

Preview Lab → · Contrast checker → · Palette generator →

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