#122D5E#122D5E

#122D5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.094 H 261.1°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#122D5E
RGBrgb(18, 45, 94)
HSLhsl(219, 68%, 22%)
HSVhsv(219, 81%, 37%)
CMYKcmyk(80.9%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.28, 9.51, -32.21)
CIE-LCHlch(19.28, 33.59, 286.45°)
OKLaboklab(30.73% -0.0144 -0.0925)
OKLCHoklch(30.73% 0.094 261.1)
XYZxyz(3.2075, 2.8132, 10.9615)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D5E #5E4312
analogous
#12535E #122D5E #1D125E
triadic
#122D5E #5E122D #2D5E12
tetradic
#122D5E #5E1253 #5E4312 #125E1D
square
#122D5E #5E1253 #5E4312 #125E1D
split-complementary
#122D5E #5E1D12 #535E12
monochromatic
#050C1A #08142B #122D5E #1C4691 #265EC5

Accessibility & contrast

On white

13.44
#122D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D5E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D5E#FFFFFF#000000##FFFFFF
##122D5E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113260
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122d5e;
/* rgb */ color: rgb(18, 45, 94);
/* oklch */ color: oklch(30.7% 0.094 261.1);
Tailwind
colors: {
  custom: {
    50: '#5d658c',
    500: '#122d5e',
    950: '#000000',
  },
}
SCSS
$custom: #122d5e;
$custom-light: #5d658c;
$custom-dark: #000000;
JSON
{
  "hex": "#122d5e",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 218.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30726,
    "c": 0.09366,
    "h": 261.1
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#122D5E
secondary
#967435
accent
#AD3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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