#112952#112952

#112952 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.081 H 260.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#112952
RGBrgb(17, 41, 82)
HSLhsl(218, 66%, 19%)
HSVhsv(218, 79%, 32%)
CMYKcmyk(79.3%, 50%, 0%, 67.8%)
CIE-LABlab(17.06, 7.13, -27.79)
CIE-LCHlch(17.06, 28.69, 284.40°)
OKLaboklab(28.72% -0.0135 -0.0796)
OKLCHoklch(28.72% 0.081 260.4)
XYZxyz(2.5465, 2.3140, 8.2934)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112952 #523A11
analogous
#114A52 #112952 #191152
triadic
#112952 #521129 #295211
tetradic
#112952 #52114A #523A11 #115219
square
#112952 #52114A #523A11 #115219
split-complementary
#112952 #521911 #4A5211
monochromatic
#050D19 #06101F #112952 #1C4285 #265CB7

Accessibility & contrast

On white

14.36
#112952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112952
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112952#FFFFFF#000000##FFFFFF
##1129521.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#062751
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112952;
/* rgb */ color: rgb(17, 41, 82);
/* oklch */ color: oklch(28.7% 0.081 260.4);
Tailwind
colors: {
  custom: {
    50: '#596283',
    500: '#112952',
    950: '#000000',
  },
}
SCSS
$custom: #112952;
$custom-light: #596283;
$custom-dark: #000000;
JSON
{
  "hex": "#112952",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 217.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28722,
    "c": 0.08076,
    "h": 260.4
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#112952
secondary
#8B6B34
accent
#AA3FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #112952

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

Preview Lab → · Contrast checker → · Palette generator →

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