#122E6D#122E6D

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

Color values

HEX#122E6D
RGBrgb(18, 46, 109)
HSLhsl(222, 72%, 25%)
HSVhsv(222, 83%, 43%)
CMYKcmyk(83.5%, 57.8%, 0%, 57.3%)
CIE-LABlab(20.77, 15.20, -39.59)
CIE-LCHlch(20.77, 42.41, 291.00°)
OKLaboklab(32.24% -0.0134 -0.1142)
OKLCHoklch(32.24% 0.115 263.3)
XYZxyz(3.9858, 3.1862, 14.8700)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E6D #6D5112
analogous
#125C6D #122E6D #23126D
triadic
#122E6D #6D122E #2E6D12
tetradic
#122E6D #6D125C #6D5112 #126D23
square
#122E6D #6D125C #6D5112 #126D23
split-complementary
#122E6D #6D2312 #5C6D12
monochromatic
#040B1A #091838 #122E6D #1B44A2 #235AD6

Accessibility & contrast

On white

12.83
#122E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#122E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E6D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E6D#FFFFFF#000000##FFFFFF
##122E6D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122e6d;
/* rgb */ color: rgb(18, 46, 109);
/* oklch */ color: oklch(32.2% 0.115 263.3);
Tailwind
colors: {
  custom: {
    50: '#616697',
    500: '#122e6d',
    950: '#000000',
  },
}
SCSS
$custom: #122e6d;
$custom-light: #616697;
$custom-dark: #000000;
JSON
{
  "hex": "#122e6d",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 221.538,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32241,
    "c": 0.115,
    "h": 263.3
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#122E6D
secondary
#A48337
accent
#B739EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #122E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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