#112C7F#112C7F

#112C7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.144 H 265.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#112C7F
RGBrgb(17, 44, 127)
HSLhsl(225, 76%, 28%)
HSVhsv(225, 87%, 50%)
CMYKcmyk(86.6%, 65.4%, 0%, 50.2%)
CIE-LABlab(21.77, 24.06, -49.47)
CIE-LCHlch(21.77, 55.01, 295.93°)
OKLaboklab(33.48% -0.0121 -0.1432)
OKLCHoklch(33.48% 0.144 265.2)
XYZxyz(4.9613, 3.4522, 20.4794)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112C7F #7F6411
analogous
#11637F #112C7F #2D117F
triadic
#112C7F #7F112C #2C7F11
tetradic
#112C7F #7F1163 #7F6411 #117F2D
square
#112C7F #7F1163 #7F6411 #117F2D
split-complementary
#112C7F #7F2D11 #637F11
monochromatic
#04091B #0A1949 #112C7F #183FB5 #2856E2

Accessibility & contrast

On white

12.42
#112C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#112C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112C7F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112C7F#FFFFFF#000000##FFFFFF
##112C7F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #112c7f;
/* rgb */ color: rgb(17, 44, 127);
/* oklch */ color: oklch(33.5% 0.144 265.2);
Tailwind
colors: {
  custom: {
    50: '#6664a5',
    500: '#112c7f',
    950: '#000000',
  },
}
SCSS
$custom: #112c7f;
$custom-light: #6664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#112c7f",
  "rgb": {
    "r": 17,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 225.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33475,
    "c": 0.14376,
    "h": 265.2
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#112C7F
secondary
#B59637
accent
#C435F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #112C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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