#122C69#122C69

#122C69 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.112 H 263.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#122C69
RGBrgb(18, 44, 105)
HSLhsl(222, 71%, 24%)
HSVhsv(222, 83%, 41%)
CMYKcmyk(82.9%, 58.1%, 0%, 58.8%)
CIE-LABlab(19.84, 14.96, -38.51)
CIE-LCHlch(19.84, 41.32, 291.22°)
OKLaboklab(31.43% -0.0122 -0.1111)
OKLCHoklch(31.43% 0.112 263.7)
XYZxyz(3.6990, 2.9495, 13.7362)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C69 #694F12
analogous
#125869 #122C69 #241269
triadic
#122C69 #69122C #2C6912
tetradic
#122C69 #691258 #694F12 #126924
square
#122C69 #691258 #694F12 #126924
split-complementary
#122C69 #692412 #586912
monochromatic
#040B1A #091635 #122C69 #1B429D #2458D1

Accessibility & contrast

On white

13.21
#122C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#122C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C69
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C69#FFFFFF#000000##FFFFFF
##122C691.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122c69;
/* rgb */ color: rgb(18, 44, 105);
/* oklch */ color: oklch(31.4% 0.112 263.7);
Tailwind
colors: {
  custom: {
    50: '#606494',
    500: '#122c69',
    950: '#000000',
  },
}
SCSS
$custom: #122c69;
$custom-light: #606494;
$custom-dark: #000000;
JSON
{
  "hex": "#122c69",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 222.069,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3143,
    "c": 0.11177,
    "h": 263.7
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#122C69
secondary
#A18136
accent
#B83AED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122C69

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

Preview Lab → · Contrast checker → · Palette generator →

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