#112571#112571

#112571 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.133 H 266.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#112571
RGBrgb(17, 37, 113)
HSLhsl(228, 74%, 25%)
HSVhsv(228, 85%, 44%)
CMYKcmyk(85%, 67.3%, 0%, 55.7%)
CIE-LABlab(18.51, 23.28, -45.86)
CIE-LCHlch(18.51, 51.43, 296.91°)
OKLaboklab(30.65% -0.008 -0.1328)
OKLCHoklch(30.65% 0.133 266.5)
XYZxyz(3.8723, 2.6341, 15.9239)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112571 #715D11
analogous
#115571 #112571 #2D1171
triadic
#112571 #711125 #257111
tetradic
#112571 #711155 #715D11 #11712D
square
#112571 #711155 #715D11 #11712D
split-complementary
#112571 #712D11 #557111
monochromatic
#04091B #09143C #112571 #1936A6 #2148DB

Accessibility & contrast

On white

13.75
#112571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#112571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112571
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112571#FFFFFF#000000##FFFFFF
##1125711.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112571;
/* rgb */ color: rgb(17, 37, 113);
/* oklch */ color: oklch(30.7% 0.133 266.5);
Tailwind
colors: {
  custom: {
    50: '#625f9b',
    500: '#112571',
    950: '#000000',
  },
}
SCSS
$custom: #112571;
$custom-light: #625f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#112571",
  "rgb": {
    "r": 17,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 227.5,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30654,
    "c": 0.13303,
    "h": 266.5
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#112571
secondary
#A89036
accent
#CA37F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #112571

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

Preview Lab → · Contrast checker → · Palette generator →

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