#112247#112247

#112247 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.073 H 263.6°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#112247
RGBrgb(17, 34, 71)
HSLhsl(221, 61%, 17%)
HSVhsv(221, 76%, 28%)
CMYKcmyk(76.1%, 52.1%, 0%, 72.2%)
CIE-LABlab(13.93, 7.63, -25.29)
CIE-LCHlch(13.93, 26.42, 286.79°)
OKLaboklab(26.06% -0.0081 -0.0724)
OKLCHoklch(26.06% 0.073 263.6)
XYZxyz(1.9401, 1.7180, 6.1894)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112247 #473611
analogous
#113D47 #112247 #1B1147
triadic
#112247 #471122 #224711
tetradic
#112247 #47113D #473611 #11471B
square
#112247 #47113D #473611 #11471B
split-complementary
#112247 #471B11 #3D4711
monochromatic
#060C19 #060C19 #112247 #1D3A78 #2951AA

Accessibility & contrast

On white

15.63
#112247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#112247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112247
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112247#FFFFFF#000000##FFFFFF
##1122471.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2648
Deuteranopia (green-blind)
#052146
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #112247;
/* rgb */ color: rgb(17, 34, 71);
/* oklch */ color: oklch(26.1% 0.073 263.6);
Tailwind
colors: {
  custom: {
    50: '#575c7a',
    500: '#112247',
    950: '#000000',
  },
}
SCSS
$custom: #112247;
$custom-light: #575c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#112247",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 221.111,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26062,
    "c": 0.07289,
    "h": 263.6
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#112247
secondary
#816833
accent
#B243E4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #112247

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

Preview Lab → · Contrast checker → · Palette generator →

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