#112D7F#112D7F

#112D7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.142 H 264.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#112D7F
RGBrgb(17, 45, 127)
HSLhsl(225, 76%, 28%)
HSVhsv(225, 87%, 50%)
CMYKcmyk(86.6%, 64.6%, 0%, 50.2%)
CIE-LABlab(22.04, 23.35, -49.02)
CIE-LCHlch(22.04, 54.30, 295.47°)
OKLaboklab(33.68% -0.0127 -0.1419)
OKLCHoklch(33.68% 0.142 264.9)
XYZxyz(4.9990, 3.5276, 20.4920)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D7F #7F6311
analogous
#11647F #112D7F #2C117F
triadic
#112D7F #7F112D #2D7F11
tetradic
#112D7F #7F1164 #7F6311 #117F2C
square
#112D7F #7F1164 #7F6311 #117F2C
split-complementary
#112D7F #7F2C11 #647F11
monochromatic
#040A1B #0A1A49 #112D7F #1840B5 #2858E2

Accessibility & contrast

On white

12.31
#112D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#112D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D7F
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D7F#FFFFFF#000000##FFFFFF
##112D7F1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #112d7f;
/* rgb */ color: rgb(17, 45, 127);
/* oklch */ color: oklch(33.7% 0.142 264.9);
Tailwind
colors: {
  custom: {
    50: '#6665a5',
    500: '#112d7f',
    950: '#000000',
  },
}
SCSS
$custom: #112d7f;
$custom-light: #6665a5;
$custom-dark: #000000;
JSON
{
  "hex": "#112d7f",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 224.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.14249,
    "h": 264.9
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#112D7F
secondary
#B59537
accent
#C335F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #112D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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