#122749#122749

#122749 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.6% C 0.069 H 259.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#122749
RGBrgb(18, 39, 73)
HSLhsl(217, 60%, 18%)
HSVhsv(217, 75%, 29%)
CMYKcmyk(75.3%, 46.6%, 0%, 71.4%)
CIE-LABlab(15.80, 4.92, -23.67)
CIE-LCHlch(15.80, 24.18, 281.75°)
OKLaboklab(27.56% -0.0124 -0.0676)
OKLCHoklch(27.56% 0.069 259.6)
XYZxyz(2.1771, 2.0605, 6.5850)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122749 #493412
analogous
#124249 #122749 #181249
triadic
#122749 #491227 #274912
tetradic
#122749 #491242 #493412 #124918
square
#122749 #491242 #493412 #124918
split-complementary
#122749 #491812 #424912
monochromatic
#060D19 #060D19 #122749 #1E417A #2A5BAB

Accessibility & contrast

On white

14.87
#122749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122749
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122749#FFFFFF#000000##FFFFFF
##1227491.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A4A
Deuteranopia (green-blind)
#0E2548
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122749;
/* rgb */ color: rgb(18, 39, 73);
/* oklch */ color: oklch(27.6% 0.069 259.6);
Tailwind
colors: {
  custom: {
    50: '#57607c',
    500: '#122749',
    950: '#000000',
  },
}
SCSS
$custom: #122749;
$custom-light: #57607c;
$custom-dark: #000000;
JSON
{
  "hex": "#122749",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 73
  },
  "hsl": {
    "h": 217.091,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27563,
    "c": 0.06869,
    "h": 259.6
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#122749
secondary
#826535
accent
#A744E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #122749

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

Preview Lab → · Contrast checker → · Palette generator →

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