#112A5E#112A5E

#112A5E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.098 H 262.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#112A5E
RGBrgb(17, 42, 94)
HSLhsl(221, 69%, 22%)
HSVhsv(221, 82%, 37%)
CMYKcmyk(81.9%, 55.3%, 0%, 63.1%)
CIE-LABlab(18.29, 11.59, -33.81)
CIE-LCHlch(18.29, 35.74, 288.92°)
OKLaboklab(29.96% -0.0125 -0.0973)
OKLCHoklch(29.96% 0.098 262.7)
XYZxyz(3.0788, 2.5829, 10.9238)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A5E #5E4511
analogous
#11515E #112A5E #1E115E
triadic
#112A5E #5E112A #2A5E11
tetradic
#112A5E #5E1151 #5E4511 #115E1E
square
#112A5E #5E1151 #5E4511 #115E1E
split-complementary
#112A5E #5E1E11 #515E11
monochromatic
#050C1A #08132A #112A5E #1A4192 #2458C6

Accessibility & contrast

On white

13.85
#112A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#112A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A5E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A5E#FFFFFF#000000##FFFFFF
##112A5E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083060
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112a5e;
/* rgb */ color: rgb(17, 42, 94);
/* oklch */ color: oklch(30.0% 0.098 262.7);
Tailwind
colors: {
  custom: {
    50: '#5c638c',
    500: '#112a5e',
    950: '#000000',
  },
}
SCSS
$custom: #112a5e;
$custom-light: #5c638c;
$custom-dark: #000000;
JSON
{
  "hex": "#112a5e",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 220.519,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29959,
    "c": 0.09813,
    "h": 262.7
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#112A5E
secondary
#977734
accent
#B33CEC
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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