#122661#122661

#122661 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.108 H 265.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#122661
RGBrgb(18, 38, 97)
HSLhsl(225, 69%, 23%)
HSVhsv(225, 81%, 38%)
CMYKcmyk(81.4%, 60.8%, 0%, 62%)
CIE-LABlab(17.36, 15.97, -37.31)
CIE-LCHlch(17.36, 40.58, 293.17°)
OKLaboklab(29.34% -0.008 -0.1077)
OKLCHoklch(29.34% 0.108 265.7)
XYZxyz(3.0995, 2.3775, 11.6025)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122661 #614D12
analogous
#124E61 #122661 #251261
triadic
#122661 #611226 #266112
tetradic
#122661 #61124E #614D12 #126125
square
#122661 #61124E #614D12 #126125
split-complementary
#122661 #612512 #4E6112
monochromatic
#050A1A #08122D #122661 #1C3A95 #254EC8

Accessibility & contrast

On white

14.23
#122661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122661
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122661#FFFFFF#000000##FFFFFF
##1226611.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122661;
/* rgb */ color: rgb(18, 38, 97);
/* oklch */ color: oklch(29.3% 0.108 265.7);
Tailwind
colors: {
  custom: {
    50: '#5e5f8e',
    500: '#122661',
    950: '#000000',
  },
}
SCSS
$custom: #122661;
$custom-light: #5e5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122661",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 97
  },
  "hsl": {
    "h": 224.81,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29343,
    "c": 0.10797,
    "h": 265.7
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#122661
secondary
#998036
accent
#BF3CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122661

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

Preview Lab → · Contrast checker → · Palette generator →

#122661 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva