#122B50#122B50

#122B50 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.074 H 258.2°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#122B50
RGBrgb(18, 43, 80)
HSLhsl(216, 63%, 19%)
HSVhsv(216, 78%, 31%)
CMYKcmyk(77.5%, 46.2%, 0%, 68.6%)
CIE-LABlab(17.62, 4.96, -25.53)
CIE-LCHlch(17.62, 26.00, 281.01°)
OKLaboklab(29.13% -0.0152 -0.0729)
OKLCHoklch(29.13% 0.074 258.2)
XYZxyz(2.5608, 2.4353, 7.9230)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B50 #503712
analogous
#124A50 #122B50 #181250
triadic
#122B50 #50122B #2B5012
tetradic
#122B50 #50124A #503712 #125018
square
#122B50 #50124A #503712 #125018
split-complementary
#122B50 #501812 #4A5012
monochromatic
#060D19 #07101E #122B50 #1D4682 #2861B4

Accessibility & contrast

On white

14.12
#122B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B50
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B50#FFFFFF#000000##FFFFFF
##122B501.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E51
Deuteranopia (green-blind)
#0F294F
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122b50;
/* rgb */ color: rgb(18, 43, 80);
/* oklch */ color: oklch(29.1% 0.074 258.2);
Tailwind
colors: {
  custom: {
    50: '#596381',
    500: '#122b50',
    950: '#000000',
  },
}
SCSS
$custom: #122b50;
$custom-light: #596381;
$custom-dark: #000000;
JSON
{
  "hex": "#122b50",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 80
  },
  "hsl": {
    "h": 215.806,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29128,
    "c": 0.07449,
    "h": 258.2
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#122B50
secondary
#896735
accent
#A441E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122B50

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

Preview Lab → · Contrast checker → · Palette generator →

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