#112A5C#112A5C

#112A5C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.095 H 262.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#112A5C
RGBrgb(17, 42, 92)
HSLhsl(220, 69%, 21%)
HSVhsv(220, 82%, 36%)
CMYKcmyk(81.5%, 54.3%, 0%, 63.9%)
CIE-LABlab(18.13, 10.72, -32.74)
CIE-LCHlch(18.13, 34.45, 288.13°)
OKLaboklab(29.79% -0.0128 -0.0942)
OKLCHoklch(29.79% 0.095 262.3)
XYZxyz(2.9902, 2.5475, 10.4573)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A5C #5C4311
analogous
#11505C #112A5C #1E115C
triadic
#112A5C #5C112A #2A5C11
tetradic
#112A5C #5C1150 #5C4311 #115C1E
square
#112A5C #5C1150 #5C4311 #115C1E
split-complementary
#112A5C #5C1E11 #505C11
monochromatic
#050C1A #071228 #112A5C #1B4290 #2459C3

Accessibility & contrast

On white

13.91
#112A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#112A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A5C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A5C#FFFFFF#000000##FFFFFF
##112A5C1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112a5c;
/* rgb */ color: rgb(17, 42, 92);
/* oklch */ color: oklch(29.8% 0.095 262.3);
Tailwind
colors: {
  custom: {
    50: '#5c638a',
    500: '#112a5c',
    950: '#000000',
  },
}
SCSS
$custom: #112a5c;
$custom-light: #5c638a;
$custom-dark: #000000;
JSON
{
  "hex": "#112a5c",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 220,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29789,
    "c": 0.09504,
    "h": 262.3
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#112A5C
secondary
#957534
accent
#B13CEC
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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