#122D67#122D67

#122D67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.107 H 263.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#122D67
RGBrgb(18, 45, 103)
HSLhsl(221, 70%, 24%)
HSVhsv(221, 83%, 40%)
CMYKcmyk(82.5%, 56.3%, 0%, 59.6%)
CIE-LABlab(19.98, 13.37, -36.98)
CIE-LCHlch(19.98, 39.33, 289.88°)
OKLaboklab(31.48% -0.0132 -0.1066)
OKLCHoklch(31.48% 0.107 263)
XYZxyz(3.6351, 2.9842, 13.2138)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D67 #674C12
analogous
#125767 #122D67 #211267
triadic
#122D67 #67122D #2D6712
tetradic
#122D67 #671257 #674C12 #126721
square
#122D67 #671257 #674C12 #126721
split-complementary
#122D67 #672112 #576712
monochromatic
#050B1A #091633 #122D67 #1B449B #245BCF

Accessibility & contrast

On white

13.15
#122D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#122D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D67
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D67#FFFFFF#000000##FFFFFF
##122D671.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023469
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122d67;
/* rgb */ color: rgb(18, 45, 103);
/* oklch */ color: oklch(31.5% 0.107 263.0);
Tailwind
colors: {
  custom: {
    50: '#5f6593',
    500: '#122d67',
    950: '#000000',
  },
}
SCSS
$custom: #122d67;
$custom-light: #5f6593;
$custom-dark: #000000;
JSON
{
  "hex": "#122d67",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 220.941,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31484,
    "c": 0.10739,
    "h": 263
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#122D67
secondary
#9F7D36
accent
#B43BED
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #122D67

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

Preview Lab → · Contrast checker → · Palette generator →

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