#122850#122850

#122850 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.079 H 261.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#122850
RGBrgb(18, 40, 80)
HSLhsl(219, 63%, 19%)
HSVhsv(219, 78%, 31%)
CMYKcmyk(77.5%, 50%, 0%, 68.6%)
CIE-LABlab(16.63, 7.18, -27.12)
CIE-LCHlch(16.63, 28.06, 284.83°)
OKLaboklab(28.36% -0.012 -0.0777)
OKLCHoklch(28.36% 0.079 261.2)
XYZxyz(2.4557, 2.2251, 7.8879)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122850 #503A12
analogous
#124750 #122850 #1B1250
triadic
#122850 #501228 #285012
tetradic
#122850 #501247 #503A12 #12501B
square
#122850 #501247 #503A12 #12501B
split-complementary
#122850 #501B12 #475012
monochromatic
#060C19 #070F1E #122850 #1D4182 #285AB4

Accessibility & contrast

On white

14.53
#122850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122850
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122850#FFFFFF#000000##FFFFFF
##1228501.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C52
Deuteranopia (green-blind)
#07264F
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122850;
/* rgb */ color: rgb(18, 40, 80);
/* oklch */ color: oklch(28.4% 0.079 261.2);
Tailwind
colors: {
  custom: {
    50: '#596181',
    500: '#122850',
    950: '#000000',
  },
}
SCSS
$custom: #122850;
$custom-light: #596181;
$custom-dark: #000000;
JSON
{
  "hex": "#122850",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 80
  },
  "hsl": {
    "h": 218.71,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28359,
    "c": 0.07858,
    "h": 261.2
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#122850
secondary
#896B35
accent
#AC41E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122850

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

Preview Lab → · Contrast checker → · Palette generator →

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