#112A54#112A54

#112A54 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.083 H 260.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#112A54
RGBrgb(17, 42, 84)
HSLhsl(218, 66%, 20%)
HSVhsv(218, 80%, 33%)
CMYKcmyk(79.8%, 50%, 0%, 67.1%)
CIE-LABlab(17.53, 7.26, -28.37)
CIE-LCHlch(17.53, 29.29, 284.35°)
OKLaboklab(29.13% -0.0141 -0.0813)
OKLCHoklch(29.13% 0.083 260.1)
XYZxyz(2.6588, 2.4149, 8.7118)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A54 #543B11
analogous
#114C54 #112A54 #1A1154
triadic
#112A54 #54112A #2A5411
tetradic
#112A54 #54114C #543B11 #11541A
square
#112A54 #54114C #543B11 #11541A
split-complementary
#112A54 #541A11 #4C5411
monochromatic
#050D19 #071121 #112A54 #1B4387 #265DBA

Accessibility & contrast

On white

14.16
#112A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#112A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A54
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A54#FFFFFF#000000##FFFFFF
##112A541.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E56
Deuteranopia (green-blind)
#062853
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112a54;
/* rgb */ color: rgb(17, 42, 84);
/* oklch */ color: oklch(29.1% 0.083 260.1);
Tailwind
colors: {
  custom: {
    50: '#5a6384',
    500: '#112a54',
    950: '#000000',
  },
}
SCSS
$custom: #112a54;
$custom-light: #5a6384;
$custom-dark: #000000;
JSON
{
  "hex": "#112a54",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 217.612,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29134,
    "c": 0.08254,
    "h": 260.1
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#112A54
secondary
#8D6C34
accent
#AA3FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112A54

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

Preview Lab → · Contrast checker → · Palette generator →

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