#112B7F#112B7F

#112B7F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.145 H 265.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#112B7F
RGBrgb(17, 43, 127)
HSLhsl(226, 76%, 28%)
HSVhsv(226, 87%, 50%)
CMYKcmyk(86.6%, 66.1%, 0%, 50.2%)
CIE-LABlab(21.50, 24.76, -49.91)
CIE-LCHlch(21.50, 55.72, 296.38°)
OKLaboklab(33.28% -0.0116 -0.1446)
OKLCHoklch(33.28% 0.145 265.4)
XYZxyz(4.9245, 3.3786, 20.4672)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112B7F #7F6511
analogous
#11627F #112B7F #2E117F
triadic
#112B7F #7F112B #2B7F11
tetradic
#112B7F #7F1162 #7F6511 #117F2E
square
#112B7F #7F1162 #7F6511 #117F2E
split-complementary
#112B7F #7F2E11 #627F11
monochromatic
#04091B #0A1949 #112B7F #183DB5 #2854E2

Accessibility & contrast

On white

12.53
#112B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#112B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112B7F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112B7F#FFFFFF#000000##FFFFFF
##112B7F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112b7f;
/* rgb */ color: rgb(17, 43, 127);
/* oklch */ color: oklch(33.3% 0.145 265.4);
Tailwind
colors: {
  custom: {
    50: '#6664a5',
    500: '#112b7f',
    950: '#000000',
  },
}
SCSS
$custom: #112b7f;
$custom-light: #6664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#112b7f",
  "rgb": {
    "r": 17,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 225.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33275,
    "c": 0.14502,
    "h": 265.4
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#112B7F
secondary
#B59737
accent
#C635F3
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #112B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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