#112F72#112F72

#112F72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 32.9% C 0.121 H 263.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#112F72
RGBrgb(17, 47, 114)
HSLhsl(221, 74%, 26%)
HSVhsv(221, 85%, 45%)
CMYKcmyk(85.1%, 58.8%, 0%, 55.3%)
CIE-LABlab(21.46, 16.49, -41.70)
CIE-LCHlch(21.46, 44.85, 291.57°)
OKLaboklab(32.88% -0.0144 -0.1204)
OKLCHoklch(32.88% 0.121 263.2)
XYZxyz(4.2839, 3.3666, 16.3404)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F72 #725411
analogous
#115F72 #112F72 #231172
triadic
#112F72 #72112F #2F7211
tetradic
#112F72 #72115F #725411 #117223
square
#112F72 #72115F #725411 #117223
split-complementary
#112F72 #722311 #5F7211
monochromatic
#040B1B #09193D #112F72 #1945A7 #215BDD

Accessibility & contrast

On white

12.55
#112F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#112F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F72
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F72#FFFFFF#000000##FFFFFF
##112F721.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #112f72;
/* rgb */ color: rgb(17, 47, 114);
/* oklch */ color: oklch(32.9% 0.121 263.2);
Tailwind
colors: {
  custom: {
    50: '#62679b',
    500: '#112f72',
    950: '#000000',
  },
}
SCSS
$custom: #112f72;
$custom-light: #62679b;
$custom-dark: #000000;
JSON
{
  "hex": "#112f72",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 221.443,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32877,
    "c": 0.12129,
    "h": 263.2
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#112F72
secondary
#A98536
accent
#B737F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #112F72

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

Preview Lab → · Contrast checker → · Palette generator →

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