#122347#122347

#122347 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.071 H 263.3°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#122347
RGBrgb(18, 35, 71)
HSLhsl(221, 60%, 17%)
HSVhsv(221, 75%, 28%)
CMYKcmyk(74.6%, 50.7%, 0%, 72.2%)
CIE-LABlab(14.32, 7.07, -24.67)
CIE-LCHlch(14.32, 25.66, 285.98°)
OKLaboklab(26.37% -0.0082 -0.0705)
OKLCHoklch(26.37% 0.071 263.3)
XYZxyz(1.9874, 1.7854, 6.1999)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122347 #473612
analogous
#123D47 #122347 #1C1247
triadic
#122347 #471223 #234712
tetradic
#122347 #47123D #473612 #12471C
square
#122347 #47123D #473612 #12471C
split-complementary
#122347 #471C12 #3D4712
monochromatic
#060C18 #060C18 #122347 #1E3B78 #2B53A9

Accessibility & contrast

On white

15.47
#122347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#122347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122347
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122347#FFFFFF#000000##FFFFFF
##1223471.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112748
Deuteranopia (green-blind)
#082246
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122347;
/* rgb */ color: rgb(18, 35, 71);
/* oklch */ color: oklch(26.4% 0.071 263.3);
Tailwind
colors: {
  custom: {
    50: '#575d7a',
    500: '#122347',
    950: '#000000',
  },
}
SCSS
$custom: #122347;
$custom-light: #575d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122347",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 71
  },
  "hsl": {
    "h": 220.755,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26374,
    "c": 0.07103,
    "h": 263.3
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#122347
secondary
#806835
accent
#B045E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122347

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

Preview Lab → · Contrast checker → · Palette generator →

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