#112758#112758

#112758 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.093 H 263.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#112758
RGBrgb(17, 39, 88)
HSLhsl(221, 68%, 21%)
HSVhsv(221, 81%, 35%)
CMYKcmyk(80.7%, 55.7%, 0%, 65.5%)
CIE-LABlab(16.87, 11.22, -32.12)
CIE-LCHlch(16.87, 34.03, 289.26°)
OKLaboklab(28.72% -0.0106 -0.0924)
OKLCHoklch(28.72% 0.093 263.5)
XYZxyz(2.7175, 2.2745, 9.5264)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112758 #584211
analogous
#114A58 #112758 #1E1158
triadic
#112758 #581127 #275811
tetradic
#112758 #58114A #584211 #11581E
square
#112758 #58114A #584211 #11581E
split-complementary
#112758 #581E11 #4A5811
monochromatic
#050B1A #071025 #112758 #1B3E8B #2554BF

Accessibility & contrast

On white

14.43
#112758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#112758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112758
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112758#FFFFFF#000000##FFFFFF
##1127581.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112758;
/* rgb */ color: rgb(17, 39, 88);
/* oklch */ color: oklch(28.7% 0.093 263.5);
Tailwind
colors: {
  custom: {
    50: '#5b6087',
    500: '#112758',
    950: '#000000',
  },
}
SCSS
$custom: #112758;
$custom-light: #5b6087;
$custom-dark: #000000;
JSON
{
  "hex": "#112758",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 221.408,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28724,
    "c": 0.09302,
    "h": 263.5
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#112758
secondary
#917434
accent
#B53DEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112758

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

Preview Lab → · Contrast checker → · Palette generator →

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