#112140#112140

#112140 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.063 H 262.3°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#112140
RGBrgb(17, 33, 64)
HSLhsl(220, 58%, 16%)
HSVhsv(220, 73%, 25%)
CMYKcmyk(73.4%, 48.4%, 0%, 74.9%)
CIE-LABlab(13.09, 5.38, -21.77)
CIE-LCHlch(13.09, 22.43, 283.88°)
OKLaboklab(25.25% -0.0084 -0.0621)
OKLCHoklch(25.25% 0.063 262.3)
XYZxyz(1.7001, 1.5769, 5.0643)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112140 #403011
analogous
#113840 #112140 #181140
triadic
#112140 #401121 #214011
tetradic
#112140 #401138 #403011 #114018
square
#112140 #401138 #403011 #114018
split-complementary
#112140 #401811 #384011
monochromatic
#060C18 #060C18 #112140 #1E3A70 #2B53A1

Accessibility & contrast

On white

15.96
#112140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#112140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112140
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112140#FFFFFF#000000##FFFFFF
##1121401.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#0B203F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #112140;
/* rgb */ color: rgb(17, 33, 64);
/* oklch */ color: oklch(25.3% 0.063 262.3);
Tailwind
colors: {
  custom: {
    50: '#555b75',
    500: '#112140',
    950: '#000000',
  },
}
SCSS
$custom: #112140;
$custom-light: #555b75;
$custom-dark: #000000;
JSON
{
  "hex": "#112140",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 219.574,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25251,
    "c": 0.06267,
    "h": 262.3
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#112140
secondary
#796233
accent
#AD47E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #112140

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

Preview Lab → · Contrast checker → · Palette generator →

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