#112271#112271

#112271 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.137 H 267.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#112271
RGBrgb(17, 34, 113)
HSLhsl(229, 74%, 25%)
HSVhsv(229, 85%, 44%)
CMYKcmyk(85%, 69.9%, 0%, 55.7%)
CIE-LABlab(17.71, 25.39, -47.18)
CIE-LCHlch(17.71, 53.58, 298.29°)
OKLaboklab(30.07% -0.0064 -0.1367)
OKLCHoklch(30.07% 0.137 267.3)
XYZxyz(3.7828, 2.4550, 15.8941)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112271 #716011
analogous
#115271 #112271 #301171
triadic
#112271 #711122 #227111
tetradic
#112271 #711152 #716011 #117130
square
#112271 #711152 #716011 #117130
split-complementary
#112271 #713011 #527111
monochromatic
#04081B #09123C #112271 #1932A6 #2142DB

Accessibility & contrast

On white

14.08
#112271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#112271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112271
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112271#FFFFFF#000000##FFFFFF
##1122711.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112271;
/* rgb */ color: rgb(17, 34, 113);
/* oklch */ color: oklch(30.1% 0.137 267.3);
Tailwind
colors: {
  custom: {
    50: '#635d9b',
    500: '#112271',
    950: '#000000',
  },
}
SCSS
$custom: #112271;
$custom-light: #635d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#112271",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 229.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30067,
    "c": 0.13681,
    "h": 267.3
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#112271
secondary
#A89436
accent
#D037F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #112271

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

Preview Lab → · Contrast checker → · Palette generator →

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