#112F6F#112F6F

#112F6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.117 H 262.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#112F6F
RGBrgb(17, 47, 111)
HSLhsl(221, 73%, 25%)
HSVhsv(221, 85%, 44%)
CMYKcmyk(84.7%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.21, 15.21, -40.18)
CIE-LCHlch(21.21, 42.97, 290.74°)
OKLaboklab(32.61% -0.0147 -0.116)
OKLCHoklch(32.61% 0.117 262.8)
XYZxyz(4.1159, 3.2994, 15.4558)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F6F #6F5111
analogous
#115E6F #112F6F #22116F
triadic
#112F6F #6F112F #2F6F11
tetradic
#112F6F #6F115E #6F5111 #116F22
square
#112F6F #6F115E #6F5111 #116F22
split-complementary
#112F6F #6F2211 #5E6F11
monochromatic
#040B1B #09193A #112F6F #1945A4 #215CD9

Accessibility & contrast

On white

12.65
#112F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#112F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F6F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F6F#FFFFFF#000000##FFFFFF
##112F6F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #112f6f;
/* rgb */ color: rgb(17, 47, 111);
/* oklch */ color: oklch(32.6% 0.117 262.8);
Tailwind
colors: {
  custom: {
    50: '#616699',
    500: '#112f6f',
    950: '#000000',
  },
}
SCSS
$custom: #112f6f;
$custom-light: #616699;
$custom-dark: #000000;
JSON
{
  "hex": "#112f6f",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 220.851,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32609,
    "c": 0.11689,
    "h": 262.8
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#112F6F
secondary
#A68235
accent
#B538F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #112F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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