#112971#112971

#112971 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.128 H 265.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#112971
RGBrgb(17, 41, 113)
HSLhsl(225, 74%, 25%)
HSVhsv(225, 85%, 44%)
CMYKcmyk(85%, 63.7%, 0%, 55.7%)
CIE-LABlab(19.63, 20.41, -44.05)
CIE-LCHlch(19.63, 48.55, 294.86°)
OKLaboklab(31.48% -0.0104 -0.1274)
OKLCHoklch(31.48% 0.128 265.3)
XYZxyz(4.0037, 2.8968, 15.9677)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112971 #715911
analogous
#115971 #112971 #291171
triadic
#112971 #711129 #297111
tetradic
#112971 #711159 #715911 #117129
square
#112971 #711159 #715911 #117129
split-complementary
#112971 #712911 #597111
monochromatic
#040A1B #09163C #112971 #193CA6 #2150DB

Accessibility & contrast

On white

13.30
#112971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112971
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112971#FFFFFF#000000##FFFFFF
##1129711.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #112971;
/* rgb */ color: rgb(17, 41, 113);
/* oklch */ color: oklch(31.5% 0.128 265.3);
Tailwind
colors: {
  custom: {
    50: '#62629b',
    500: '#112971',
    950: '#000000',
  },
}
SCSS
$custom: #112971;
$custom-light: #62629b;
$custom-dark: #000000;
JSON
{
  "hex": "#112971",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 225,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31477,
    "c": 0.12784,
    "h": 265.3
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#112971
secondary
#A88C36
accent
#C237F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112971

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

Preview Lab → · Contrast checker → · Palette generator →

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