#122C6D#122C6D

#122C6D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.118 H 264.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#122C6D
RGBrgb(18, 44, 109)
HSLhsl(223, 72%, 25%)
HSVhsv(223, 83%, 43%)
CMYKcmyk(83.5%, 59.6%, 0%, 57.3%)
CIE-LABlab(20.18, 16.66, -40.56)
CIE-LCHlch(20.18, 43.85, 292.33°)
OKLaboklab(31.79% -0.0119 -0.1171)
OKLCHoklch(31.79% 0.118 264.2)
XYZxyz(3.9095, 3.0336, 14.8445)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C6D #6D5312
analogous
#125A6D #122C6D #25126D
triadic
#122C6D #6D122C #2C6D12
tetradic
#122C6D #6D125A #6D5312 #126D25
square
#122C6D #6D125A #6D5312 #126D25
split-complementary
#122C6D #6D2512 #5A6D12
monochromatic
#040B1A #091738 #122C6D #1B41A2 #2356D6

Accessibility & contrast

On white

13.07
#122C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C6D
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C6D#FFFFFF#000000##FFFFFF
##122C6D1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122c6d;
/* rgb */ color: rgb(18, 44, 109);
/* oklch */ color: oklch(31.8% 0.118 264.2);
Tailwind
colors: {
  custom: {
    50: '#616497',
    500: '#122c6d',
    950: '#000000',
  },
}
SCSS
$custom: #122c6d;
$custom-light: #616497;
$custom-dark: #000000;
JSON
{
  "hex": "#122c6d",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 222.857,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31791,
    "c": 0.11771,
    "h": 264.2
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#122C6D
secondary
#A48537
accent
#BB39EE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #122C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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