#122950#122950

#122950 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.077 H 260.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#122950
RGBrgb(18, 41, 80)
HSLhsl(218, 63%, 19%)
HSVhsv(218, 78%, 31%)
CMYKcmyk(77.5%, 48.8%, 0%, 68.6%)
CIE-LABlab(16.96, 6.44, -26.59)
CIE-LCHlch(16.96, 27.36, 283.61°)
OKLaboklab(28.61% -0.013 -0.0761)
OKLCHoklch(28.61% 0.077 260.3)
XYZxyz(2.4898, 2.2934, 7.8993)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122950 #503912
analogous
#124850 #122950 #1A1250
triadic
#122950 #501229 #295012
tetradic
#122950 #501248 #503912 #12501A
square
#122950 #501248 #503912 #12501A
split-complementary
#122950 #501A12 #485012
monochromatic
#060D19 #070F1E #122950 #1D4382 #285CB4

Accessibility & contrast

On white

14.40
#122950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122950
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122950#FFFFFF#000000##FFFFFF
##1229501.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D51
Deuteranopia (green-blind)
#0A274F
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122950;
/* rgb */ color: rgb(18, 41, 80);
/* oklch */ color: oklch(28.6% 0.077 260.3);
Tailwind
colors: {
  custom: {
    50: '#596281',
    500: '#122950',
    950: '#000000',
  },
}
SCSS
$custom: #122950;
$custom-light: #596281;
$custom-dark: #000000;
JSON
{
  "hex": "#122950",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 217.742,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28613,
    "c": 0.0772,
    "h": 260.3
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#122950
secondary
#896A35
accent
#A941E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122950

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

Preview Lab → · Contrast checker → · Palette generator →

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