#112F71#112F71

#112F71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.120 H 263.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#112F71
RGBrgb(17, 47, 113)
HSLhsl(221, 74%, 25%)
HSVhsv(221, 85%, 44%)
CMYKcmyk(85%, 58.4%, 0%, 55.7%)
CIE-LABlab(21.37, 16.07, -41.20)
CIE-LCHlch(21.37, 44.22, 291.30°)
OKLaboklab(32.79% -0.0145 -0.1189)
OKLCHoklch(32.79% 0.12 263)
XYZxyz(4.2272, 3.3439, 16.0422)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F71 #715311
analogous
#115F71 #112F71 #231171
triadic
#112F71 #71112F #2F7111
tetradic
#112F71 #71115F #715311 #117123
square
#112F71 #71115F #715311 #117123
split-complementary
#112F71 #712311 #5F7111
monochromatic
#040B1B #09193C #112F71 #1945A6 #215BDB

Accessibility & contrast

On white

12.58
#112F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#112F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F71
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F71#FFFFFF#000000##FFFFFF
##112F711.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #112f71;
/* rgb */ color: rgb(17, 47, 113);
/* oklch */ color: oklch(32.8% 0.120 263.0);
Tailwind
colors: {
  custom: {
    50: '#61669a',
    500: '#112f71',
    950: '#000000',
  },
}
SCSS
$custom: #112f71;
$custom-light: #61669a;
$custom-dark: #000000;
JSON
{
  "hex": "#112f71",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 221.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.11983,
    "h": 263
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#112F71
secondary
#A88436
accent
#B737F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #112F71

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

Preview Lab → · Contrast checker → · Palette generator →

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