#112A74#112A74

#112A74 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.131 H 265.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#112A74
RGBrgb(17, 42, 116)
HSLhsl(225, 74%, 26%)
HSVhsv(225, 85%, 45%)
CMYKcmyk(85.3%, 63.8%, 0%, 54.5%)
CIE-LABlab(20.19, 20.94, -45.06)
CIE-LCHlch(20.19, 49.69, 294.93°)
OKLaboklab(31.98% -0.011 -0.1304)
OKLCHoklch(31.98% 0.131 265.2)
XYZxyz(4.2104, 3.0355, 16.8836)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A74 #745B11
analogous
#115B74 #112A74 #291174
triadic
#112A74 #74112A #2A7411
tetradic
#112A74 #74115B #745B11 #117429
square
#112A74 #74115B #745B11 #117429
split-complementary
#112A74 #742911 #5B7411
monochromatic
#040A1B #09173F #112A74 #193DA9 #2151DE

Accessibility & contrast

On white

13.07
#112A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#112A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A74
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A74#FFFFFF#000000##FFFFFF
##112A741.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #112a74;
/* rgb */ color: rgb(17, 42, 116);
/* oklch */ color: oklch(32.0% 0.131 265.2);
Tailwind
colors: {
  custom: {
    50: '#63639d',
    500: '#112a74',
    950: '#000000',
  },
}
SCSS
$custom: #112a74;
$custom-light: #63639d;
$custom-dark: #000000;
JSON
{
  "hex": "#112a74",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 224.848,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3198,
    "c": 0.13083,
    "h": 265.2
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#112A74
secondary
#AB8D36
accent
#C237F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112A74

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

Preview Lab → · Contrast checker → · Palette generator →

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