#112562#112562

#112562 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.111 H 265.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#112562
RGBrgb(17, 37, 98)
HSLhsl(225, 70%, 23%)
HSVhsv(225, 83%, 38%)
CMYKcmyk(82.7%, 62.2%, 0%, 61.6%)
CIE-LABlab(17.10, 17.01, -38.38)
CIE-LCHlch(17.10, 41.98, 293.90°)
OKLaboklab(29.17% -0.0081 -0.1109)
OKLCHoklch(29.17% 0.111 265.8)
XYZxyz(3.0966, 2.3238, 11.8382)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112562 #624E11
analogous
#114E62 #112562 #251162
triadic
#112562 #621125 #256211
tetradic
#112562 #62114E #624E11 #116225
square
#112562 #62114E #624E11 #116225
split-complementary
#112562 #622511 #4E6211
monochromatic
#050A1A #08112E #112562 #1A3996 #234CCA

Accessibility & contrast

On white

14.34
#112562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112562
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112562#FFFFFF#000000##FFFFFF
##1125621.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112562;
/* rgb */ color: rgb(17, 37, 98);
/* oklch */ color: oklch(29.2% 0.111 265.8);
Tailwind
colors: {
  custom: {
    50: '#5e5f8f',
    500: '#112562',
    950: '#000000',
  },
}
SCSS
$custom: #112562;
$custom-light: #5e5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#112562",
  "rgb": {
    "r": 17,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 225.185,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29169,
    "c": 0.11116,
    "h": 265.8
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#112562
secondary
#9A8134
accent
#C13BED
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #112562

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

Preview Lab → · Contrast checker → · Palette generator →

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