#122D60#122D60

#122D60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.097 H 261.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#122D60
RGBrgb(18, 45, 96)
HSLhsl(219, 68%, 22%)
HSVhsv(219, 81%, 38%)
CMYKcmyk(81.3%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.43, 10.37, -33.29)
CIE-LCHlch(19.43, 34.86, 287.30°)
OKLaboklab(30.89% -0.0141 -0.0957)
OKLCHoklch(30.89% 0.097 261.6)
XYZxyz(3.2984, 2.8495, 11.4402)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D60 #604512
analogous
#125460 #122D60 #1E1260
triadic
#122D60 #60122D #2D6012
tetradic
#122D60 #601254 #604512 #12601E
square
#122D60 #601254 #604512 #12601E
split-complementary
#122D60 #601E12 #546012
monochromatic
#050C1A #08152C #122D60 #1C4594 #255DC7

Accessibility & contrast

On white

13.38
#122D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#122D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D60
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D60#FFFFFF#000000##FFFFFF
##122D601.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122d60;
/* rgb */ color: rgb(18, 45, 96);
/* oklch */ color: oklch(30.9% 0.097 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d658d',
    500: '#122d60',
    950: '#000000',
  },
}
SCSS
$custom: #122d60;
$custom-light: #5d658d;
$custom-dark: #000000;
JSON
{
  "hex": "#122d60",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 219.231,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30891,
    "c": 0.09673,
    "h": 261.6
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#122D60
secondary
#987636
accent
#AF3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122D60

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

Preview Lab → · Contrast checker → · Palette generator →

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