#122C67#122C67

#122C67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.109 H 263.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#122C67
RGBrgb(18, 44, 103)
HSLhsl(222, 70%, 24%)
HSVhsv(222, 83%, 40%)
CMYKcmyk(82.5%, 57.3%, 0%, 59.6%)
CIE-LABlab(19.67, 14.10, -37.48)
CIE-LCHlch(19.67, 40.05, 290.62°)
OKLaboklab(31.25% -0.0124 -0.1081)
OKLCHoklch(31.25% 0.109 263.5)
XYZxyz(3.5974, 2.9088, 13.2012)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C67 #674D12
analogous
#125667 #122C67 #221267
triadic
#122C67 #67122C #2C6712
tetradic
#122C67 #671256 #674D12 #126722
square
#122C67 #671256 #674D12 #126722
split-complementary
#122C67 #672212 #566712
monochromatic
#050B1A #091633 #122C67 #1B429B #2459CF

Accessibility & contrast

On white

13.28
#122C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C67
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C67#FFFFFF#000000##FFFFFF
##122C671.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122c67;
/* rgb */ color: rgb(18, 44, 103);
/* oklch */ color: oklch(31.3% 0.109 263.5);
Tailwind
colors: {
  custom: {
    50: '#5f6493',
    500: '#122c67',
    950: '#000000',
  },
}
SCSS
$custom: #122c67;
$custom-light: #5f6493;
$custom-dark: #000000;
JSON
{
  "hex": "#122c67",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 221.647,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31253,
    "c": 0.10877,
    "h": 263.5
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#122C67
secondary
#9F7F36
accent
#B73BED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122C67

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

Preview Lab → · Contrast checker → · Palette generator →

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