#122F68#122F68

#122F68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.106 H 262.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#122F68
RGBrgb(18, 47, 104)
HSLhsl(220, 70%, 24%)
HSVhsv(220, 83%, 41%)
CMYKcmyk(82.7%, 54.8%, 0%, 59.2%)
CIE-LABlab(20.68, 12.34, -36.51)
CIE-LCHlch(20.68, 38.54, 288.67°)
OKLaboklab(32.04% -0.0147 -0.1051)
OKLCHoklch(32.04% 0.106 262)
XYZxyz(3.7638, 3.1607, 13.5057)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F68 #684B12
analogous
#125A68 #122F68 #201268
triadic
#122F68 #68122F #2F6812
tetradic
#122F68 #68125A #684B12 #126820
square
#122F68 #68125A #684B12 #126820
split-complementary
#122F68 #682012 #5A6812
monochromatic
#050C1A #091734 #122F68 #1B479C #245ED0

Accessibility & contrast

On white

12.87
#122F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F68
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F68#FFFFFF#000000##FFFFFF
##122F681.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122f68;
/* rgb */ color: rgb(18, 47, 104);
/* oklch */ color: oklch(32.0% 0.106 262.0);
Tailwind
colors: {
  custom: {
    50: '#5f6694',
    500: '#122f68',
    950: '#000000',
  },
}
SCSS
$custom: #122f68;
$custom-light: #5f6694;
$custom-dark: #000000;
JSON
{
  "hex": "#122f68",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 219.767,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32038,
    "c": 0.10617,
    "h": 262
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#122F68
secondary
#A07C36
accent
#B13BED
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #122F68

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

Preview Lab → · Contrast checker → · Palette generator →

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