#112A4F#112A4F

#112A4F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.075 H 258.2°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#112A4F
RGBrgb(17, 42, 79)
HSLhsl(216, 65%, 19%)
HSVhsv(216, 78%, 31%)
CMYKcmyk(78.5%, 46.8%, 0%, 69%)
CIE-LABlab(17.18, 5.10, -25.57)
CIE-LCHlch(17.18, 26.07, 281.28°)
OKLaboklab(28.75% -0.0152 -0.0731)
OKLCHoklch(28.75% 0.075 258.2)
XYZxyz(2.4699, 2.3393, 7.7170)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A4F #4F3611
analogous
#11494F #112A4F #17114F
triadic
#112A4F #4F112A #2A4F11
tetradic
#112A4F #4F1149 #4F3611 #114F17
square
#112A4F #4F1149 #4F3611 #114F17
split-complementary
#112A4F #4F1711 #494F11
monochromatic
#050D19 #060F1D #112A4F #1C4581 #2760B4

Accessibility & contrast

On white

14.31
#112A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#112A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A4F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A4F#FFFFFF#000000##FFFFFF
##112A4F1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#0D284E
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112a4f;
/* rgb */ color: rgb(17, 42, 79);
/* oklch */ color: oklch(28.7% 0.075 258.2);
Tailwind
colors: {
  custom: {
    50: '#586380',
    500: '#112a4f',
    950: '#000000',
  },
}
SCSS
$custom: #112a4f;
$custom-light: #586380;
$custom-dark: #000000;
JSON
{
  "hex": "#112a4f",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 215.806,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.07465,
    "h": 258.2
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#112A4F
secondary
#886633
accent
#A440E8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #112A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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