#112154#112154

#112154 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.095 H 266.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#112154
RGBrgb(17, 33, 84)
HSLhsl(226, 66%, 20%)
HSVhsv(226, 80%, 33%)
CMYKcmyk(79.8%, 60.7%, 0%, 67.1%)
CIE-LABlab(14.66, 14.01, -33.00)
CIE-LCHlch(14.66, 35.85, 293.00°)
OKLaboklab(26.95% -0.0055 -0.0951)
OKLCHoklch(26.95% 0.095 266.7)
XYZxyz(2.3747, 1.8467, 8.6171)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112154 #544411
analogous
#114254 #112154 #231154
triadic
#112154 #541121 #215411
tetradic
#112154 #541142 #544411 #115423
square
#112154 #541142 #544411 #115423
split-complementary
#112154 #542311 #425411
monochromatic
#050A19 #070D21 #112154 #1B3587 #2649BA

Accessibility & contrast

On white

15.34
#112154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112154
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112154#FFFFFF#000000##FFFFFF
##1121541.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#002253
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #112154;
/* rgb */ color: rgb(17, 33, 84);
/* oklch */ color: oklch(27.0% 0.095 266.7);
Tailwind
colors: {
  custom: {
    50: '#5a5b85',
    500: '#112154',
    950: '#000000',
  },
}
SCSS
$custom: #112154;
$custom-light: #5a5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#112154",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 225.672,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2695,
    "c": 0.09529,
    "h": 266.7
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#112154
secondary
#8D7834
accent
#C03FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112154

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

Preview Lab → · Contrast checker → · Palette generator →

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