#112972#112972

#112972 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.129 H 265.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#112972
RGBrgb(17, 41, 114)
HSLhsl(225, 74%, 26%)
HSVhsv(225, 85%, 45%)
CMYKcmyk(85.1%, 64%, 0%, 55.3%)
CIE-LABlab(19.72, 20.83, -44.54)
CIE-LCHlch(19.72, 49.17, 295.06°)
OKLaboklab(31.57% -0.0104 -0.1289)
OKLCHoklch(31.57% 0.129 265.4)
XYZxyz(4.0603, 2.9195, 16.2658)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112972 #725A11
analogous
#115972 #112972 #2A1172
triadic
#112972 #721129 #297211
tetradic
#112972 #721159 #725A11 #11722A
square
#112972 #721159 #725A11 #11722A
split-complementary
#112972 #722A11 #597211
monochromatic
#040A1B #09163D #112972 #193CA7 #214FDD

Accessibility & contrast

On white

13.26
#112972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#112972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112972
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112972#FFFFFF#000000##FFFFFF
##1129721.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #112972;
/* rgb */ color: rgb(17, 41, 114);
/* oklch */ color: oklch(31.6% 0.129 265.4);
Tailwind
colors: {
  custom: {
    50: '#62629b',
    500: '#112972',
    950: '#000000',
  },
}
SCSS
$custom: #112972;
$custom-light: #62629b;
$custom-dark: #000000;
JSON
{
  "hex": "#112972",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 225.155,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.12928,
    "h": 265.4
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#112972
secondary
#A98D36
accent
#C337F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112972

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

Preview Lab → · Contrast checker → · Palette generator →

#112972 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva