#112F62#112F62

#112F62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.097 H 260.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#112F62
RGBrgb(17, 47, 98)
HSLhsl(218, 70%, 23%)
HSVhsv(218, 83%, 38%)
CMYKcmyk(82.7%, 52%, 0%, 61.6%)
CIE-LABlab(20.18, 9.63, -33.40)
CIE-LCHlch(20.18, 34.76, 286.09°)
OKLaboklab(31.5% -0.0163 -0.096)
OKLCHoklch(31.5% 0.097 260.3)
XYZxyz(3.4515, 3.0336, 11.9566)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F62 #624411
analogous
#115762 #112F62 #1C1162
triadic
#112F62 #62112F #2F6211
tetradic
#112F62 #621157 #624411 #11621C
square
#112F62 #621157 #624411 #11621C
split-complementary
#112F62 #621C11 #576211
monochromatic
#050D1A #08162E #112F62 #1A4896 #2361CA

Accessibility & contrast

On white

13.07
#112F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#112F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F62
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F62#FFFFFF#000000##FFFFFF
##112F621.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113564
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #112f62;
/* rgb */ color: rgb(17, 47, 98);
/* oklch */ color: oklch(31.5% 0.097 260.3);
Tailwind
colors: {
  custom: {
    50: '#5d678f',
    500: '#112f62',
    950: '#000000',
  },
}
SCSS
$custom: #112f62;
$custom-light: #5d678f;
$custom-dark: #000000;
JSON
{
  "hex": "#112f62",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 217.778,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.315,
    "c": 0.09738,
    "h": 260.3
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#112F62
secondary
#9A7534
accent
#AB3BED
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #112F62

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

Preview Lab → · Contrast checker → · Palette generator →

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