#122D5C#122D5C

#122D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.091 H 260.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#122D5C
RGBrgb(18, 45, 92)
HSLhsl(218, 67%, 22%)
HSVhsv(218, 80%, 36%)
CMYKcmyk(80.4%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.13, 8.65, -31.13)
CIE-LCHlch(19.13, 32.31, 285.53°)
OKLaboklab(30.57% -0.0148 -0.0894)
OKLCHoklch(30.57% 0.091 260.6)
XYZxyz(3.1189, 2.7777, 10.4949)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D5C #5C4112
analogous
#12525C #122D5C #1C125C
triadic
#122D5C #5C122D #2D5C12
tetradic
#122D5C #5C1252 #5C4112 #125C1C
square
#122D5C #5C1252 #5C4112 #125C1C
split-complementary
#122D5C #5C1C12 #525C12
monochromatic
#050D1A #081429 #122D5C #1C468F #265FC2

Accessibility & contrast

On white

13.50
#122D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D5C
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D5C#FFFFFF#000000##FFFFFF
##122D5C1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#012B5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122d5c;
/* rgb */ color: rgb(18, 45, 92);
/* oklch */ color: oklch(30.6% 0.091 260.6);
Tailwind
colors: {
  custom: {
    50: '#5c658a',
    500: '#122d5c',
    950: '#000000',
  },
}
SCSS
$custom: #122d5c;
$custom-light: #5c658a;
$custom-dark: #000000;
JSON
{
  "hex": "#122d5c",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 218.108,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30565,
    "c": 0.09057,
    "h": 260.6
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#122D5C
secondary
#947235
accent
#AB3EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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