#112D74#112D74

#112D74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.6% C 0.127 H 264.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#112D74
RGBrgb(17, 45, 116)
HSLhsl(223, 74%, 26%)
HSVhsv(223, 85%, 45%)
CMYKcmyk(85.3%, 61.2%, 0%, 54.5%)
CIE-LABlab(21.04, 18.78, -43.66)
CIE-LCHlch(21.04, 47.53, 293.28°)
OKLaboklab(32.62% -0.0129 -0.1262)
OKLCHoklch(32.62% 0.127 264.1)
XYZxyz(4.3208, 3.2564, 16.9204)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D74 #745811
analogous
#115E74 #112D74 #261174
triadic
#112D74 #74112D #2D7411
tetradic
#112D74 #74115E #745811 #117426
square
#112D74 #74115E #745811 #117426
split-complementary
#112D74 #742611 #5E7411
monochromatic
#040A1B #09183F #112D74 #1942A9 #2157DE

Accessibility & contrast

On white

12.72
#112D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#112D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D74
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D74#FFFFFF#000000##FFFFFF
##112D741.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112d74;
/* rgb */ color: rgb(17, 45, 116);
/* oklch */ color: oklch(32.6% 0.127 264.1);
Tailwind
colors: {
  custom: {
    50: '#62659d',
    500: '#112d74',
    950: '#000000',
  },
}
SCSS
$custom: #112d74;
$custom-light: #62659d;
$custom-dark: #000000;
JSON
{
  "hex": "#112d74",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 223.03,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3262,
    "c": 0.12688,
    "h": 264.1
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#112D74
secondary
#AB8A36
accent
#BC37F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #112D74

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

Preview Lab → · Contrast checker → · Palette generator →

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