#112954#112954

#112954 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.084 H 261.0°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#112954
RGBrgb(17, 41, 84)
HSLhsl(219, 66%, 20%)
HSVhsv(219, 80%, 33%)
CMYKcmyk(79.8%, 51.2%, 0%, 67.1%)
CIE-LABlab(17.20, 8.00, -28.90)
CIE-LCHlch(17.20, 29.98, 285.47°)
OKLaboklab(28.88% -0.0131 -0.0829)
OKLCHoklch(28.88% 0.084 261)
XYZxyz(2.6238, 2.3449, 8.7001)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112954 #543C11
analogous
#114B54 #112954 #1A1154
triadic
#112954 #541129 #295411
tetradic
#112954 #54114B #543C11 #11541A
square
#112954 #54114B #543C11 #11541A
split-complementary
#112954 #541A11 #4B5411
monochromatic
#050C19 #071021 #112954 #1B4287 #265BBA

Accessibility & contrast

On white

14.30
#112954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#112954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112954
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112954#FFFFFF#000000##FFFFFF
##1129541.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E56
Deuteranopia (green-blind)
#032753
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #112954;
/* rgb */ color: rgb(17, 41, 84);
/* oklch */ color: oklch(28.9% 0.084 261.0);
Tailwind
colors: {
  custom: {
    50: '#5a6284',
    500: '#112954',
    950: '#000000',
  },
}
SCSS
$custom: #112954;
$custom-light: #5a6284;
$custom-dark: #000000;
JSON
{
  "hex": "#112954",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 218.507,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28882,
    "c": 0.08392,
    "h": 261
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#112954
secondary
#8D6D34
accent
#AC3FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #112954

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

Preview Lab → · Contrast checker → · Palette generator →

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