#112D72#112D72

#112D72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.124 H 264.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#112D72
RGBrgb(17, 45, 114)
HSLhsl(223, 74%, 26%)
HSVhsv(223, 85%, 45%)
CMYKcmyk(85.1%, 60.5%, 0%, 55.3%)
CIE-LABlab(20.87, 17.94, -42.66)
CIE-LCHlch(20.87, 46.28, 292.81°)
OKLaboklab(32.43% -0.013 -0.1233)
OKLCHoklch(32.43% 0.124 264)
XYZxyz(4.2057, 3.2103, 16.3143)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D72 #725611
analogous
#115D72 #112D72 #251172
triadic
#112D72 #72112D #2D7211
tetradic
#112D72 #72115D #725611 #117225
square
#112D72 #72115D #725611 #117225
split-complementary
#112D72 #722511 #5D7211
monochromatic
#040B1B #09183D #112D72 #1942A7 #2157DD

Accessibility & contrast

On white

12.79
#112D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#112D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D72
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D72#FFFFFF#000000##FFFFFF
##112D721.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #112d72;
/* rgb */ color: rgb(17, 45, 114);
/* oklch */ color: oklch(32.4% 0.124 264.0);
Tailwind
colors: {
  custom: {
    50: '#62659b',
    500: '#112d72',
    950: '#000000',
  },
}
SCSS
$custom: #112d72;
$custom-light: #62659b;
$custom-dark: #000000;
JSON
{
  "hex": "#112d72",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 222.68,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32434,
    "c": 0.12398,
    "h": 264
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#112D72
secondary
#A98836
accent
#BB37F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #112D72

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

Preview Lab → · Contrast checker → · Palette generator →

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