#112162#112162

#112162 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.117 H 267.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#112162
RGBrgb(17, 33, 98)
HSLhsl(228, 70%, 23%)
HSVhsv(228, 83%, 38%)
CMYKcmyk(82.7%, 66.3%, 0%, 61.6%)
CIE-LABlab(15.94, 19.95, -40.27)
CIE-LCHlch(15.94, 44.95, 296.35°)
OKLaboklab(28.31% -0.0052 -0.1165)
OKLCHoklch(28.31% 0.117 267.4)
XYZxyz(2.9789, 2.0884, 11.7990)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112162 #625211
analogous
#114A62 #112162 #291162
triadic
#112162 #621121 #216211
tetradic
#112162 #62114A #625211 #116229
square
#112162 #62114A #625211 #116229
split-complementary
#112162 #622911 #4A6211
monochromatic
#05091A #080F2E #112162 #1A3396 #2344CA

Accessibility & contrast

On white

14.81
#112162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#112162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112162
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112162#FFFFFF#000000##FFFFFF
##1121621.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002461
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #112162;
/* rgb */ color: rgb(17, 33, 98);
/* oklch */ color: oklch(28.3% 0.117 267.4);
Tailwind
colors: {
  custom: {
    50: '#5e5c8f',
    500: '#112162',
    950: '#000000',
  },
}
SCSS
$custom: #112162;
$custom-light: #5e5c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#112162",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 228.148,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28307,
    "c": 0.11659,
    "h": 267.4
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#112162
secondary
#9A8634
accent
#CA3BED
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #112162

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

Preview Lab → · Contrast checker → · Palette generator →

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