#112F5A#112F5A

#112F5A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.085 H 257.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#112F5A
RGBrgb(17, 47, 90)
HSLhsl(215, 68%, 21%)
HSVhsv(215, 81%, 35%)
CMYKcmyk(81.1%, 47.8%, 0%, 64.7%)
CIE-LABlab(19.60, 6.18, -29.06)
CIE-LCHlch(19.60, 29.71, 282.01°)
OKLaboklab(30.87% -0.0179 -0.0832)
OKLCHoklch(30.87% 0.085 257.9)
XYZxyz(3.0925, 2.8900, 10.0657)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F5A #5A3C11
analogous
#11535A #112F5A #17115A
triadic
#112F5A #5A112F #2F5A11
tetradic
#112F5A #5A1153 #5A3C11 #115A17
square
#112F5A #5A1153 #5A3C11 #115A17
split-complementary
#112F5A #5A1711 #535A11
monochromatic
#050D1A #071427 #112F5A #1B4A8D #2465C1

Accessibility & contrast

On white

13.31
#112F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#112F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F5A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F5A#FFFFFF#000000##FFFFFF
##112F5A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335C
Deuteranopia (green-blind)
#0B2C59
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #112f5a;
/* rgb */ color: rgb(17, 47, 90);
/* oklch */ color: oklch(30.9% 0.085 257.9);
Tailwind
colors: {
  custom: {
    50: '#5b6789',
    500: '#112f5a',
    950: '#000000',
  },
}
SCSS
$custom: #112f5a;
$custom-light: #5b6789;
$custom-dark: #000000;
JSON
{
  "hex": "#112f5a",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 215.342,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.08513,
    "h": 257.9
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#112F5A
secondary
#936C34
accent
#A33DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #112F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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