#112A72#112A72

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

Color values

HEX#112A72
RGBrgb(17, 42, 114)
HSLhsl(225, 74%, 26%)
HSVhsv(225, 85%, 45%)
CMYKcmyk(85.1%, 63.2%, 0%, 55.3%)
CIE-LABlab(20.00, 20.11, -44.07)
CIE-LCHlch(20.00, 48.44, 294.52°)
OKLaboklab(31.79% -0.0111 -0.1275)
OKLCHoklch(31.79% 0.128 265)
XYZxyz(4.0953, 2.9895, 16.2775)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A72 #725911
analogous
#115A72 #112A72 #281172
triadic
#112A72 #72112A #2A7211
tetradic
#112A72 #72115A #725911 #117228
square
#112A72 #72115A #725911 #117228
split-complementary
#112A72 #722811 #5A7211
monochromatic
#040A1B #09163D #112A72 #193EA7 #2151DD

Accessibility & contrast

On white

13.14
#112A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#112A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A72
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A72#FFFFFF#000000##FFFFFF
##112A721.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #112a72;
/* rgb */ color: rgb(17, 42, 114);
/* oklch */ color: oklch(31.8% 0.128 265.0);
Tailwind
colors: {
  custom: {
    50: '#62639b',
    500: '#112a72',
    950: '#000000',
  },
}
SCSS
$custom: #112a72;
$custom-light: #62639b;
$custom-dark: #000000;
JSON
{
  "hex": "#112a72",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 224.536,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31786,
    "c": 0.12796,
    "h": 265
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#112A72
secondary
#A98B36
accent
#C137F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112A72

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

Preview Lab → · Contrast checker → · Palette generator →

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