#122D62#122D62

#122D62 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.100 H 262.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#122D62
RGBrgb(18, 45, 98)
HSLhsl(220, 69%, 23%)
HSVhsv(220, 82%, 38%)
CMYKcmyk(81.6%, 54.1%, 0%, 61.6%)
CIE-LABlab(19.58, 11.23, -34.35)
CIE-LCHlch(19.58, 36.14, 288.10°)
OKLaboklab(31.06% -0.0138 -0.0988)
OKLCHoklch(31.06% 0.1 262)
XYZxyz(3.3917, 2.8868, 11.9314)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D62 #624712
analogous
#125562 #122D62 #1F1262
triadic
#122D62 #62122D #2D6212
tetradic
#122D62 #621255 #624712 #12621F
square
#122D62 #621255 #624712 #12621F
split-complementary
#122D62 #621F12 #556212
monochromatic
#050C1A #09152E #122D62 #1B4596 #255CC9

Accessibility & contrast

On white

13.31
#122D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D62
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D62#FFFFFF#000000##FFFFFF
##122D621.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3364
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122d62;
/* rgb */ color: rgb(18, 45, 98);
/* oklch */ color: oklch(31.1% 0.100 262.0);
Tailwind
colors: {
  custom: {
    50: '#5e658f',
    500: '#122d62',
    950: '#000000',
  },
}
SCSS
$custom: #122d62;
$custom-light: #5e658f;
$custom-dark: #000000;
JSON
{
  "hex": "#122d62",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 219.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31057,
    "c": 0.0998,
    "h": 262
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#122D62
secondary
#9A7836
accent
#B03CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122D62

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

Preview Lab → · Contrast checker → · Palette generator →

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