#112748#112748

#112748 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.068 H 258.4°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#112748
RGBrgb(17, 39, 72)
HSLhsl(216, 62%, 17%)
HSVhsv(216, 76%, 28%)
CMYKcmyk(76.4%, 45.8%, 0%, 71.8%)
CIE-LABlab(15.68, 4.31, -23.18)
CIE-LCHlch(15.68, 23.57, 280.52°)
OKLaboklab(27.44% -0.0136 -0.0661)
OKLCHoklch(27.44% 0.068 258.4)
XYZxyz(2.1260, 2.0379, 6.4109)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112748 #483211
analogous
#114348 #112748 #161148
triadic
#112748 #481127 #274811
tetradic
#112748 #481143 #483211 #114816
square
#112748 #481143 #483211 #114816
split-complementary
#112748 #481611 #434811
monochromatic
#060D19 #060D19 #112748 #1D427A #285DAB

Accessibility & contrast

On white

14.92
#112748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112748
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112748#FFFFFF#000000##FFFFFF
##1127481.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#0F2547
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #112748;
/* rgb */ color: rgb(17, 39, 72);
/* oklch */ color: oklch(27.4% 0.068 258.4);
Tailwind
colors: {
  custom: {
    50: '#57607b',
    500: '#112748',
    950: '#000000',
  },
}
SCSS
$custom: #112748;
$custom-light: #57607b;
$custom-dark: #000000;
JSON
{
  "hex": "#112748",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 216,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27437,
    "c": 0.0675,
    "h": 258.4
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#112748
secondary
#826233
accent
#A443E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #112748

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

Preview Lab → · Contrast checker → · Palette generator →

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