#122C6E#122C6E

#122C6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.119 H 264.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#122C6E
RGBrgb(18, 44, 110)
HSLhsl(223, 72%, 25%)
HSVhsv(223, 84%, 43%)
CMYKcmyk(83.6%, 60%, 0%, 56.9%)
CIE-LABlab(20.26, 17.08, -41.07)
CIE-LCHlch(20.26, 44.48, 292.58°)
OKLaboklab(31.88% -0.0118 -0.1186)
OKLCHoklch(31.88% 0.119 264.3)
XYZxyz(3.9636, 3.0553, 15.1297)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C6E #6E5412
analogous
#125A6E #122C6E #26126E
triadic
#122C6E #6E122C #2C6E12
tetradic
#122C6E #6E125A #6E5412 #126E26
square
#122C6E #6E125A #6E5412 #126E26
split-complementary
#122C6E #6E2612 #5A6E12
monochromatic
#040B1A #091739 #122C6E #1B41A3 #2356D7

Accessibility & contrast

On white

13.03
#122C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#122C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C6E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C6E#FFFFFF#000000##FFFFFF
##122C6E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122c6e;
/* rgb */ color: rgb(18, 44, 110);
/* oklch */ color: oklch(31.9% 0.119 264.3);
Tailwind
colors: {
  custom: {
    50: '#616498',
    500: '#122c6e',
    950: '#000000',
  },
}
SCSS
$custom: #122c6e;
$custom-light: #616498;
$custom-dark: #000000;
JSON
{
  "hex": "#122c6e",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 223.043,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31882,
    "c": 0.11919,
    "h": 264.3
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#122C6E
secondary
#A58637
accent
#BB39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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