#112754#112754

#112754 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.087 H 262.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#112754
RGBrgb(17, 39, 84)
HSLhsl(220, 66%, 20%)
HSVhsv(220, 80%, 33%)
CMYKcmyk(79.8%, 53.6%, 0%, 67.1%)
CIE-LABlab(16.55, 9.49, -29.94)
CIE-LCHlch(16.55, 31.41, 287.59°)
OKLaboklab(28.39% -0.0111 -0.086)
OKLCHoklch(28.39% 0.087 262.6)
XYZxyz(2.5563, 2.2100, 8.6776)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112754 #543E11
analogous
#114854 #112754 #1D1154
triadic
#112754 #541127 #275411
tetradic
#112754 #541148 #543E11 #11541D
square
#112754 #541148 #543E11 #11541D
split-complementary
#112754 #541D11 #485411
monochromatic
#050C19 #070F21 #112754 #1B3F87 #2656BA

Accessibility & contrast

On white

14.56
#112754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#112754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112754
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112754#FFFFFF#000000##FFFFFF
##1127541.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2C56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #112754;
/* rgb */ color: rgb(17, 39, 84);
/* oklch */ color: oklch(28.4% 0.087 262.6);
Tailwind
colors: {
  custom: {
    50: '#5a6084',
    500: '#112754',
    950: '#000000',
  },
}
SCSS
$custom: #112754;
$custom-light: #5a6084;
$custom-dark: #000000;
JSON
{
  "hex": "#112754",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 220.299,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28385,
    "c": 0.08673,
    "h": 262.6
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#112754
secondary
#8D7034
accent
#B13FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112754

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

Preview Lab → · Contrast checker → · Palette generator →

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