#122D5D#122D5D

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

Color values

HEX#122D5D
RGBrgb(18, 45, 93)
HSLhsl(218, 68%, 22%)
HSVhsv(218, 81%, 36%)
CMYKcmyk(80.6%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.20, 9.08, -31.67)
CIE-LCHlch(19.20, 32.95, 286.00°)
OKLaboklab(30.65% -0.0146 -0.0909)
OKLCHoklch(30.65% 0.092 260.9)
XYZxyz(3.1629, 2.7953, 10.7267)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D5D #5D4212
analogous
#12535D #122D5D #1D125D
triadic
#122D5D #5D122D #2D5D12
tetradic
#122D5D #5D1253 #5D4212 #125D1D
square
#122D5D #5D1253 #5D4212 #125D1D
split-complementary
#122D5D #5D1D12 #535D12
monochromatic
#050C1A #08142A #122D5D #1C4690 #265FC4

Accessibility & contrast

On white

13.47
#122D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D5D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D5D#FFFFFF#000000##FFFFFF
##122D5D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122d5d;
/* rgb */ color: rgb(18, 45, 93);
/* oklch */ color: oklch(30.6% 0.092 260.9);
Tailwind
colors: {
  custom: {
    50: '#5c658b',
    500: '#122d5d',
    950: '#000000',
  },
}
SCSS
$custom: #122d5d;
$custom-light: #5c658b;
$custom-dark: #000000;
JSON
{
  "hex": "#122d5d",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 218.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30645,
    "c": 0.09211,
    "h": 260.9
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#122D5D
secondary
#957335
accent
#AC3DEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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