#122E6F#122E6F

#122E6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.118 H 263.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#122E6F
RGBrgb(18, 46, 111)
HSLhsl(222, 72%, 25%)
HSVhsv(222, 84%, 44%)
CMYKcmyk(83.8%, 58.6%, 0%, 56.5%)
CIE-LABlab(20.94, 16.05, -40.61)
CIE-LCHlch(20.94, 43.67, 291.56°)
OKLaboklab(32.42% -0.0132 -0.1172)
OKLCHoklch(32.42% 0.118 263.6)
XYZxyz(4.0947, 3.2298, 15.4435)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E6F #6F5312
analogous
#125D6F #122E6F #24126F
triadic
#122E6F #6F122E #2E6F12
tetradic
#122E6F #6F125D #6F5312 #126F24
square
#122E6F #6F125D #6F5312 #126F24
split-complementary
#122E6F #6F2412 #5D6F12
monochromatic
#040B1A #09183A #122E6F #1B44A4 #235AD8

Accessibility & contrast

On white

12.76
#122E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#122E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E6F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E6F#FFFFFF#000000##FFFFFF
##122E6F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122e6f;
/* rgb */ color: rgb(18, 46, 111);
/* oklch */ color: oklch(32.4% 0.118 263.6);
Tailwind
colors: {
  custom: {
    50: '#616699',
    500: '#122e6f',
    950: '#000000',
  },
}
SCSS
$custom: #122e6f;
$custom-light: #616699;
$custom-dark: #000000;
JSON
{
  "hex": "#122e6f",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 221.935,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3242,
    "c": 0.11796,
    "h": 263.6
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#122E6F
secondary
#A68537
accent
#B839EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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