#122647#122647

#122647 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.2% C 0.067 H 259.9°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#122647
RGBrgb(18, 38, 71)
HSLhsl(217, 60%, 17%)
HSVhsv(217, 75%, 28%)
CMYKcmyk(74.6%, 46.5%, 0%, 72.2%)
CIE-LABlab(15.33, 4.81, -23.06)
CIE-LCHlch(15.33, 23.56, 281.79°)
OKLaboklab(27.15% -0.0117 -0.0658)
OKLCHoklch(27.15% 0.067 259.9)
XYZxyz(2.0795, 1.9696, 6.2306)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122647 #473312
analogous
#124147 #122647 #181247
triadic
#122647 #471226 #264712
tetradic
#122647 #471241 #473312 #124718
square
#122647 #471241 #473312 #124718
split-complementary
#122647 #471812 #414712
monochromatic
#060D18 #060D18 #122647 #1E4078 #2B5AA9

Accessibility & contrast

On white

15.06
#122647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122647
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122647#FFFFFF#000000##FFFFFF
##1226471.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#0E2446
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122647;
/* rgb */ color: rgb(18, 38, 71);
/* oklch */ color: oklch(27.2% 0.067 259.9);
Tailwind
colors: {
  custom: {
    50: '#575f7a',
    500: '#122647',
    950: '#000000',
  },
}
SCSS
$custom: #122647;
$custom-light: #575f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122647",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 217.358,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27151,
    "c": 0.06681,
    "h": 259.9
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#122647
secondary
#806435
accent
#A745E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122647

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

Preview Lab → · Contrast checker → · Palette generator →

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