#122D6D#122D6D

#122D6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.116 H 263.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#122D6D
RGBrgb(18, 45, 109)
HSLhsl(222, 72%, 25%)
HSVhsv(222, 83%, 43%)
CMYKcmyk(83.5%, 58.7%, 0%, 57.3%)
CIE-LABlab(20.48, 15.93, -40.08)
CIE-LCHlch(20.48, 43.13, 291.68°)
OKLaboklab(32.02% -0.0126 -0.1157)
OKLCHoklch(32.02% 0.116 263.8)
XYZxyz(3.9472, 3.1090, 14.8571)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D6D #6D5212
analogous
#125B6D #122D6D #25126D
triadic
#122D6D #6D122D #2D6D12
tetradic
#122D6D #6D125B #6D5212 #126D25
square
#122D6D #6D125B #6D5212 #126D25
split-complementary
#122D6D #6D2512 #5B6D12
monochromatic
#040B1A #091738 #122D6D #1B43A2 #2358D6

Accessibility & contrast

On white

12.95
#122D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#122D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D6D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D6D#FFFFFF#000000##FFFFFF
##122D6D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122d6d;
/* rgb */ color: rgb(18, 45, 109);
/* oklch */ color: oklch(32.0% 0.116 263.8);
Tailwind
colors: {
  custom: {
    50: '#616597',
    500: '#122d6d',
    950: '#000000',
  },
}
SCSS
$custom: #122d6d;
$custom-light: #616597;
$custom-dark: #000000;
JSON
{
  "hex": "#122d6d",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 222.198,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32015,
    "c": 0.11636,
    "h": 263.8
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#122D6D
secondary
#A48437
accent
#B939EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #122D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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