#122050#122050

#122050 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.090 H 267.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#122050
RGBrgb(18, 32, 80)
HSLhsl(226, 63%, 19%)
HSVhsv(226, 78%, 31%)
CMYKcmyk(77.5%, 60%, 0%, 68.6%)
CIE-LABlab(14.06, 13.20, -31.26)
CIE-LCHlch(14.06, 33.93, 292.90°)
OKLaboklab(26.41% -0.0039 -0.09)
OKLCHoklch(26.41% 0.09 267.5)
XYZxyz(2.2134, 1.7406, 7.8072)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122050 #504212
analogous
#123F50 #122050 #231250
triadic
#122050 #501220 #205012
tetradic
#122050 #50123F #504212 #125023
square
#122050 #50123F #504212 #125023
split-complementary
#122050 #502312 #3F5012
monochromatic
#060A19 #070C1E #122050 #1D3482 #2848B4

Accessibility & contrast

On white

15.58
#122050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#122050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122050
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122050#FFFFFF#000000##FFFFFF
##1220501.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122050;
/* rgb */ color: rgb(18, 32, 80);
/* oklch */ color: oklch(26.4% 0.090 267.5);
Tailwind
colors: {
  custom: {
    50: '#5a5b81',
    500: '#122050',
    950: '#000000',
  },
}
SCSS
$custom: #122050;
$custom-light: #5a5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#122050",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 80
  },
  "hsl": {
    "h": 226.452,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26406,
    "c": 0.09007,
    "h": 267.5
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#122050
secondary
#897635
accent
#C141E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #122050

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

Preview Lab → · Contrast checker → · Palette generator →

#122050 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva