#122C62#122C62

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

Color values

HEX#122C62
RGBrgb(18, 44, 98)
HSLhsl(221, 69%, 23%)
HSVhsv(221, 82%, 38%)
CMYKcmyk(81.6%, 55.1%, 0%, 61.6%)
CIE-LABlab(19.27, 11.97, -34.86)
CIE-LCHlch(19.27, 36.85, 288.94°)
OKLaboklab(30.82% -0.0129 -0.1003)
OKLCHoklch(30.82% 0.101 262.7)
XYZxyz(3.3540, 2.8114, 11.9188)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C62 #624812
analogous
#125462 #122C62 #201262
triadic
#122C62 #62122C #2C6212
tetradic
#122C62 #621254 #624812 #126220
square
#122C62 #621254 #624812 #126220
split-complementary
#122C62 #622012 #546212
monochromatic
#050C1A #09152E #122C62 #1B4396 #255AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122C62#FFFFFF#000000##FFFFFF
##122C621.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)
#083364
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122c62;
/* rgb */ color: rgb(18, 44, 98);
/* oklch */ color: oklch(30.8% 0.101 262.7);
Tailwind
colors: {
  custom: {
    50: '#5e648f',
    500: '#122c62',
    950: '#000000',
  },
}
SCSS
$custom: #122c62;
$custom-light: #5e648f;
$custom-dark: #000000;
JSON
{
  "hex": "#122c62",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 220.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30819,
    "c": 0.10118,
    "h": 262.7
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#122C62
secondary
#9A7936
accent
#B33CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122C62

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

Preview Lab → · Contrast checker → · Palette generator →

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