#122A50#122A50

#122A50 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.076 H 259.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#122A50
RGBrgb(18, 42, 80)
HSLhsl(217, 63%, 19%)
HSVhsv(217, 78%, 31%)
CMYKcmyk(77.5%, 47.5%, 0%, 68.6%)
CIE-LABlab(17.29, 5.70, -26.06)
CIE-LCHlch(17.29, 26.68, 282.34°)
OKLaboklab(28.87% -0.0141 -0.0745)
OKLCHoklch(28.87% 0.076 259.3)
XYZxyz(2.5249, 2.3634, 7.9110)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A50 #503812
analogous
#124950 #122A50 #191250
triadic
#122A50 #50122A #2A5012
tetradic
#122A50 #501249 #503812 #125019
square
#122A50 #501249 #503812 #125019
split-complementary
#122A50 #501912 #495012
monochromatic
#060D19 #07101E #122A50 #1D4482 #285EB4

Accessibility & contrast

On white

14.26
#122A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A50
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A50#FFFFFF#000000##FFFFFF
##122A501.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E51
Deuteranopia (green-blind)
#0D284F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122a50;
/* rgb */ color: rgb(18, 42, 80);
/* oklch */ color: oklch(28.9% 0.076 259.3);
Tailwind
colors: {
  custom: {
    50: '#596381',
    500: '#122a50',
    950: '#000000',
  },
}
SCSS
$custom: #122a50;
$custom-light: #596381;
$custom-dark: #000000;
JSON
{
  "hex": "#122a50",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 216.774,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2887,
    "c": 0.07584,
    "h": 259.3
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#122A50
secondary
#896835
accent
#A741E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122A50

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

Preview Lab → · Contrast checker → · Palette generator →

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