#112958#112958

#112958 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.090 H 262.1°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#112958
RGBrgb(17, 41, 88)
HSLhsl(220, 68%, 21%)
HSVhsv(220, 81%, 35%)
CMYKcmyk(80.7%, 53.4%, 0%, 65.5%)
CIE-LABlab(17.50, 9.73, -31.09)
CIE-LCHlch(17.50, 32.58, 287.38°)
OKLaboklab(29.21% -0.0124 -0.0893)
OKLCHoklch(29.21% 0.09 262.1)
XYZxyz(2.7849, 2.4093, 9.5489)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112958 #584011
analogous
#114C58 #112958 #1C1158
triadic
#112958 #581129 #295811
tetradic
#112958 #58114C #584011 #11581C
square
#112958 #58114C #584011 #11581C
split-complementary
#112958 #581C11 #4C5811
monochromatic
#050C1A #071125 #112958 #1B418B #2559BF

Accessibility & contrast

On white

14.17
#112958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#112958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112958
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112958#FFFFFF#000000##FFFFFF
##1129581.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2E5A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112958;
/* rgb */ color: rgb(17, 41, 88);
/* oklch */ color: oklch(29.2% 0.090 262.1);
Tailwind
colors: {
  custom: {
    50: '#5b6287',
    500: '#112958',
    950: '#000000',
  },
}
SCSS
$custom: #112958;
$custom-light: #5b6287;
$custom-dark: #000000;
JSON
{
  "hex": "#112958",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 219.718,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2921,
    "c": 0.09021,
    "h": 262.1
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#112958
secondary
#917134
accent
#B03DEA
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112958

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

Preview Lab → · Contrast checker → · Palette generator →

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