#112151#112151

#112151 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.091 H 266.3°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#112151
RGBrgb(17, 33, 81)
HSLhsl(225, 65%, 19%)
HSVhsv(225, 79%, 32%)
CMYKcmyk(79%, 59.3%, 0%, 68.2%)
CIE-LABlab(14.40, 12.72, -31.39)
CIE-LCHlch(14.40, 33.86, 292.06°)
OKLaboklab(26.68% -0.0058 -0.0904)
OKLCHoklch(26.68% 0.091 266.3)
XYZxyz(2.2597, 1.8007, 8.0115)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112151 #514111
analogous
#114151 #112151 #211151
triadic
#112151 #511121 #215111
tetradic
#112151 #511141 #514111 #115121
square
#112151 #511141 #514111 #115121
split-complementary
#112151 #512111 #415111
monochromatic
#050A19 #060C1E #112151 #1C3684 #264AB6

Accessibility & contrast

On white

15.44
#112151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#112151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112151
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112151#FFFFFF#000000##FFFFFF
##1121511.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112151;
/* rgb */ color: rgb(17, 33, 81);
/* oklch */ color: oklch(26.7% 0.091 266.3);
Tailwind
colors: {
  custom: {
    50: '#595b82',
    500: '#112151',
    950: '#000000',
  },
}
SCSS
$custom: #112151;
$custom-light: #595b82;
$custom-dark: #000000;
JSON
{
  "hex": "#112151",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 225,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26676,
    "c": 0.09055,
    "h": 266.3
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#112151
secondary
#8A7534
accent
#BE40E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #112151

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

Preview Lab → · Contrast checker → · Palette generator →

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