#122D6F#122D6F

#122D6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.119 H 264.0°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#122D6F
RGBrgb(18, 45, 111)
HSLhsl(223, 72%, 25%)
HSVhsv(223, 84%, 44%)
CMYKcmyk(83.8%, 59.5%, 0%, 56.5%)
CIE-LABlab(20.64, 16.77, -41.09)
CIE-LCHlch(20.64, 44.38, 292.21°)
OKLaboklab(32.2% -0.0125 -0.1187)
OKLCHoklch(32.2% 0.119 264)
XYZxyz(4.0561, 3.1526, 15.4306)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D6F #6F5412
analogous
#125B6F #122D6F #26126F
triadic
#122D6F #6F122D #2D6F12
tetradic
#122D6F #6F125B #6F5412 #126F26
square
#122D6F #6F125B #6F5412 #126F26
split-complementary
#122D6F #6F2612 #5B6F12
monochromatic
#040B1A #09183A #122D6F #1B42A4 #2358D8

Accessibility & contrast

On white

12.88
#122D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#122D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D6F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D6F#FFFFFF#000000##FFFFFF
##122D6F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122d6f;
/* rgb */ color: rgb(18, 45, 111);
/* oklch */ color: oklch(32.2% 0.119 264.0);
Tailwind
colors: {
  custom: {
    50: '#616599',
    500: '#122d6f',
    950: '#000000',
  },
}
SCSS
$custom: #122d6f;
$custom-light: #616599;
$custom-dark: #000000;
JSON
{
  "hex": "#122d6f",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 222.581,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32196,
    "c": 0.11931,
    "h": 264
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#122D6F
secondary
#A68637
accent
#BA39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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