#112A5A#112A5A

#112A5A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.092 H 261.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#112A5A
RGBrgb(17, 42, 90)
HSLhsl(219, 68%, 21%)
HSVhsv(219, 81%, 35%)
CMYKcmyk(81.1%, 53.3%, 0%, 64.7%)
CIE-LABlab(17.98, 9.86, -31.66)
CIE-LCHlch(17.98, 33.16, 287.29°)
OKLaboklab(29.62% -0.0131 -0.091)
OKLCHoklch(29.62% 0.092 261.8)
XYZxyz(2.9039, 2.5130, 10.0029)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A5A #5A4111
analogous
#114E5A #112A5A #1C115A
triadic
#112A5A #5A112A #2A5A11
tetradic
#112A5A #5A114E #5A4111 #115A1C
square
#112A5A #5A114E #5A4111 #115A1C
split-complementary
#112A5A #5A1C11 #4E5A11
monochromatic
#050C1A #071227 #112A5A #1B428D #245AC1

Accessibility & contrast

On white

13.98
#112A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#112A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A5A
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A5A#FFFFFF#000000##FFFFFF
##112A5A1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112a5a;
/* rgb */ color: rgb(17, 42, 90);
/* oklch */ color: oklch(29.6% 0.092 261.8);
Tailwind
colors: {
  custom: {
    50: '#5b6389',
    500: '#112a5a',
    950: '#000000',
  },
}
SCSS
$custom: #112a5a;
$custom-light: #5b6389;
$custom-dark: #000000;
JSON
{
  "hex": "#112a5a",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 219.452,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29621,
    "c": 0.09194,
    "h": 261.8
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#112A5A
secondary
#937234
accent
#AF3DEB
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #112A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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