#112951#112951

#112951 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.079 H 260.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#112951
RGBrgb(17, 41, 81)
HSLhsl(218, 65%, 19%)
HSVhsv(218, 79%, 32%)
CMYKcmyk(79%, 49.4%, 0%, 68.2%)
CIE-LABlab(16.98, 6.70, -27.23)
CIE-LCHlch(16.98, 28.04, 283.83°)
OKLaboklab(28.64% -0.0137 -0.078)
OKLCHoklch(28.64% 0.079 260)
XYZxyz(2.5088, 2.2989, 8.0945)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112951 #513911
analogous
#114951 #112951 #191151
triadic
#112951 #511129 #295111
tetradic
#112951 #511149 #513911 #115119
square
#112951 #511149 #513911 #115119
split-complementary
#112951 #511911 #495111
monochromatic
#050D19 #060F1E #112951 #1C4384 #265CB6

Accessibility & contrast

On white

14.39
#112951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#112951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112951
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112951#FFFFFF#000000##FFFFFF
##1129511.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D53
Deuteranopia (green-blind)
#082750
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112951;
/* rgb */ color: rgb(17, 41, 81);
/* oklch */ color: oklch(28.6% 0.079 260.0);
Tailwind
colors: {
  custom: {
    50: '#596282',
    500: '#112951',
    950: '#000000',
  },
}
SCSS
$custom: #112951;
$custom-light: #596282;
$custom-dark: #000000;
JSON
{
  "hex": "#112951",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 217.5,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28644,
    "c": 0.07918,
    "h": 260
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#112951
secondary
#8A6A34
accent
#A940E8
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #112951

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

Preview Lab → · Contrast checker → · Palette generator →

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