#112251#112251

#112251 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.089 H 265.7°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#112251
RGBrgb(17, 34, 81)
HSLhsl(224, 65%, 19%)
HSVhsv(224, 79%, 32%)
CMYKcmyk(79%, 58%, 0%, 68.2%)
CIE-LABlab(14.72, 11.96, -30.88)
CIE-LCHlch(14.72, 33.11, 291.17°)
OKLaboklab(26.91% -0.0067 -0.0888)
OKLCHoklch(26.91% 0.089 265.7)
XYZxyz(2.2879, 1.8571, 8.0209)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112251 #514011
analogous
#114251 #112251 #201151
triadic
#112251 #511122 #225111
tetradic
#112251 #511142 #514011 #115120
square
#112251 #511142 #514011 #115120
split-complementary
#112251 #512011 #425111
monochromatic
#050B19 #060D1E #112251 #1C3784 #264CB6

Accessibility & contrast

On white

15.31
#112251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#112251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112251
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112251#FFFFFF#000000##FFFFFF
##1122511.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032853
Deuteranopia (green-blind)
#002250
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #112251;
/* rgb */ color: rgb(17, 34, 81);
/* oklch */ color: oklch(26.9% 0.089 265.7);
Tailwind
colors: {
  custom: {
    50: '#595c82',
    500: '#112251',
    950: '#000000',
  },
}
SCSS
$custom: #112251;
$custom-light: #595c82;
$custom-dark: #000000;
JSON
{
  "hex": "#112251",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 224.063,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26913,
    "c": 0.0891,
    "h": 265.7
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#112251
secondary
#8A7334
accent
#BB40E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #112251

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

Preview Lab → · Contrast checker → · Palette generator →

#112251 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva