#112F5F#112F5F

#112F5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.093 H 259.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#112F5F
RGBrgb(17, 47, 95)
HSLhsl(217, 70%, 22%)
HSVhsv(217, 82%, 37%)
CMYKcmyk(82.1%, 50.5%, 0%, 62.7%)
CIE-LABlab(19.96, 8.34, -31.79)
CIE-LCHlch(19.96, 32.86, 284.70°)
OKLaboklab(31.26% -0.0169 -0.0913)
OKLCHoklch(31.26% 0.093 259.5)
XYZxyz(3.3125, 2.9780, 11.2245)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F5F #5F4111
analogous
#11565F #112F5F #1A115F
triadic
#112F5F #5F112F #2F5F11
tetradic
#112F5F #5F1156 #5F4111 #115F1A
square
#112F5F #5F1156 #5F4111 #115F1A
split-complementary
#112F5F #5F1A11 #565F11
monochromatic
#050D1A #08152B #112F5F #1A4993 #2462C7

Accessibility & contrast

On white

13.16
#112F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#112F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F5F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F5F#FFFFFF#000000##FFFFFF
##112F5F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#012D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #112f5f;
/* rgb */ color: rgb(17, 47, 95);
/* oklch */ color: oklch(31.3% 0.093 259.5);
Tailwind
colors: {
  custom: {
    50: '#5c678d',
    500: '#112f5f',
    950: '#000000',
  },
}
SCSS
$custom: #112f5f;
$custom-light: #5c678d;
$custom-dark: #000000;
JSON
{
  "hex": "#112f5f",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 216.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31258,
    "c": 0.09281,
    "h": 259.5
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#112F5F
secondary
#987134
accent
#A83BEC
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #112F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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