#112A5B#112A5B

#112A5B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.093 H 262.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#112A5B
RGBrgb(17, 42, 91)
HSLhsl(220, 69%, 21%)
HSVhsv(220, 81%, 36%)
CMYKcmyk(81.3%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.05, 10.29, -32.20)
CIE-LCHlch(18.05, 33.81, 287.72°)
OKLaboklab(29.71% -0.0129 -0.0926)
OKLCHoklch(29.71% 0.094 262.1)
XYZxyz(2.9468, 2.5301, 10.2286)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A5B #5B4211
analogous
#114F5B #112A5B #1D115B
triadic
#112A5B #5B112A #2A5B11
tetradic
#112A5B #5B114F #5B4211 #115B1D
square
#112A5B #5B114F #5B4211 #115B1D
split-complementary
#112A5B #5B1D11 #4F5B11
monochromatic
#050C1A #071227 #112A5B #1B428F #245AC2

Accessibility & contrast

On white

13.94
#112A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#112A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A5B
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A5B#FFFFFF#000000##FFFFFF
##112A5B1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112a5b;
/* rgb */ color: rgb(17, 42, 91);
/* oklch */ color: oklch(29.7% 0.093 262.1);
Tailwind
colors: {
  custom: {
    50: '#5c638a',
    500: '#112a5b',
    950: '#000000',
  },
}
SCSS
$custom: #112a5b;
$custom-light: #5c638a;
$custom-dark: #000000;
JSON
{
  "hex": "#112a5b",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 219.73,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29705,
    "c": 0.0935,
    "h": 262.1
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#112A5B
secondary
#947334
accent
#B03CEB
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #112A5B

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

Preview Lab → · Contrast checker → · Palette generator →

#112A5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva