#112152#112152

#112152 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.092 H 266.5°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#112152
RGBrgb(17, 33, 82)
HSLhsl(225, 66%, 19%)
HSVhsv(225, 79%, 32%)
CMYKcmyk(79.3%, 59.8%, 0%, 67.8%)
CIE-LABlab(14.49, 13.15, -31.93)
CIE-LCHlch(14.49, 34.53, 292.39°)
OKLaboklab(26.77% -0.0057 -0.092)
OKLCHoklch(26.77% 0.092 266.5)
XYZxyz(2.2975, 1.8158, 8.2104)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112152 #524211
analogous
#114252 #112152 #221152
triadic
#112152 #521121 #215211
tetradic
#112152 #521142 #524211 #115222
square
#112152 #521142 #524211 #115222
split-complementary
#112152 #522211 #425211
monochromatic
#050A19 #060D1F #112152 #1C3585 #264AB7

Accessibility & contrast

On white

15.40
#112152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112152
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112152#FFFFFF#000000##FFFFFF
##1121521.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #112152;
/* rgb */ color: rgb(17, 33, 82);
/* oklch */ color: oklch(26.8% 0.092 266.5);
Tailwind
colors: {
  custom: {
    50: '#5a5b83',
    500: '#112152',
    950: '#000000',
  },
}
SCSS
$custom: #112152;
$custom-light: #5a5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#112152",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 225.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26767,
    "c": 0.09214,
    "h": 266.5
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#112152
secondary
#8B7634
accent
#BF3FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #112152

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

Preview Lab → · Contrast checker → · Palette generator →

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