#112A71#112A71

#112A71 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.127 H 265.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#112A71
RGBrgb(17, 42, 113)
HSLhsl(224, 74%, 25%)
HSVhsv(224, 85%, 44%)
CMYKcmyk(85%, 62.8%, 0%, 55.7%)
CIE-LABlab(19.91, 19.69, -43.58)
CIE-LCHlch(19.91, 47.82, 294.31°)
OKLaboklab(31.69% -0.0111 -0.126)
OKLCHoklch(31.69% 0.127 265)
XYZxyz(4.0387, 2.9669, 15.9794)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A71 #715811
analogous
#115A71 #112A71 #281171
triadic
#112A71 #71112A #2A7111
tetradic
#112A71 #71115A #715811 #117128
square
#112A71 #71115A #715811 #117128
split-complementary
#112A71 #712811 #5A7111
monochromatic
#040A1B #09163C #112A71 #193EA6 #2152DB

Accessibility & contrast

On white

13.18
#112A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#112A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A71
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A71#FFFFFF#000000##FFFFFF
##112A711.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112a71;
/* rgb */ color: rgb(17, 42, 113);
/* oklch */ color: oklch(31.7% 0.127 265.0);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#112a71',
    950: '#000000',
  },
}
SCSS
$custom: #112a71;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#112a71",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 224.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3169,
    "c": 0.12652,
    "h": 265
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#112A71
secondary
#A88A36
accent
#C037F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112A71

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

Preview Lab → · Contrast checker → · Palette generator →

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