#112A6C#112A6C

#112A6C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.119 H 264.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#112A6C
RGBrgb(17, 42, 108)
HSLhsl(224, 73%, 25%)
HSVhsv(224, 84%, 42%)
CMYKcmyk(84.3%, 61.1%, 0%, 57.6%)
CIE-LABlab(19.46, 17.58, -41.08)
CIE-LCHlch(19.46, 44.68, 293.17°)
OKLaboklab(31.22% -0.0113 -0.1187)
OKLCHoklch(31.22% 0.119 264.6)
XYZxyz(3.7649, 2.8574, 14.5375)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A6C #6C5311
analogous
#11586C #112A6C #25116C
triadic
#112A6C #6C112A #2A6C11
tetradic
#112A6C #6C1158 #6C5311 #116C25
square
#112A6C #6C1158 #6C5311 #116C25
split-complementary
#112A6C #6C2511 #586C11
monochromatic
#040A1A #091537 #112A6C #193FA1 #2253D6

Accessibility & contrast

On white

13.36
#112A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#112A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A6C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A6C#FFFFFF#000000##FFFFFF
##112A6C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #112a6c;
/* rgb */ color: rgb(17, 42, 108);
/* oklch */ color: oklch(31.2% 0.119 264.6);
Tailwind
colors: {
  custom: {
    50: '#606397',
    500: '#112a6c',
    950: '#000000',
  },
}
SCSS
$custom: #112a6c;
$custom-light: #606397;
$custom-dark: #000000;
JSON
{
  "hex": "#112a6c",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 223.516,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31216,
    "c": 0.11922,
    "h": 264.6
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#112A6C
secondary
#A48535
accent
#BD38EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #112A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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