#112A4E#112A4E

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

Color values

HEX#112A4E
RGBrgb(17, 42, 78)
HSLhsl(215, 64%, 19%)
HSVhsv(215, 78%, 31%)
CMYKcmyk(78.2%, 46.2%, 0%, 69.4%)
CIE-LABlab(17.11, 4.67, -25.00)
CIE-LCHlch(17.11, 25.43, 280.58°)
OKLaboklab(28.67% -0.0155 -0.0714)
OKLCHoklch(28.67% 0.073 257.8)
XYZxyz(2.4338, 2.3249, 7.5267)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A4E #4E3511
analogous
#11484E #112A4E #16114E
triadic
#112A4E #4E112A #2A4E11
tetradic
#112A4E #4E1148 #4E3511 #114E16
square
#112A4E #4E1148 #4E3511 #114E16
split-complementary
#112A4E #4E1611 #484E11
monochromatic
#050E19 #060F1C #112A4E #1C4580 #2760B2

Accessibility & contrast

On white

14.33
#112A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112A4E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A4E#FFFFFF#000000##FFFFFF
##112A4E1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4F
Deuteranopia (green-blind)
#0F284D
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112a4e;
/* rgb */ color: rgb(17, 42, 78);
/* oklch */ color: oklch(28.7% 0.073 257.8);
Tailwind
colors: {
  custom: {
    50: '#586380',
    500: '#112a4e',
    950: '#000000',
  },
}
SCSS
$custom: #112a4e;
$custom-light: #586380;
$custom-dark: #000000;
JSON
{
  "hex": "#112a4e",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 215.41,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28672,
    "c": 0.07306,
    "h": 257.8
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#112A4E
secondary
#876533
accent
#A341E7
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #112A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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