#122450#122450

#122450 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.084 H 264.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#122450
RGBrgb(18, 36, 80)
HSLhsl(223, 63%, 19%)
HSVhsv(223, 78%, 31%)
CMYKcmyk(77.5%, 55%, 0%, 68.6%)
CIE-LABlab(15.33, 10.18, -29.21)
CIE-LCHlch(15.33, 30.94, 289.21°)
OKLaboklab(27.36% -0.0078 -0.0839)
OKLCHoklch(27.36% 0.084 264.7)
XYZxyz(2.3278, 1.9693, 7.8453)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122450 #503E12
analogous
#124350 #122450 #1F1250
triadic
#122450 #501224 #245012
tetradic
#122450 #501243 #503E12 #12501F
square
#122450 #501243 #503E12 #12501F
split-complementary
#122450 #501F12 #435012
monochromatic
#060B19 #070E1E #122450 #1D3A82 #2851B4

Accessibility & contrast

On white

15.06
#122450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122450
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122450#FFFFFF#000000##FFFFFF
##1224501.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2952
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122450;
/* rgb */ color: rgb(18, 36, 80);
/* oklch */ color: oklch(27.4% 0.084 264.7);
Tailwind
colors: {
  custom: {
    50: '#595e81',
    500: '#122450',
    950: '#000000',
  },
}
SCSS
$custom: #122450;
$custom-light: #595e81;
$custom-dark: #000000;
JSON
{
  "hex": "#122450",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 80
  },
  "hsl": {
    "h": 222.581,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27362,
    "c": 0.08426,
    "h": 264.7
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#122450
secondary
#897135
accent
#B641E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #122450

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

Preview Lab → · Contrast checker → · Palette generator →

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