#112671#112671

#112671 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.132 H 266.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#112671
RGBrgb(17, 38, 113)
HSLhsl(227, 74%, 25%)
HSVhsv(227, 85%, 44%)
CMYKcmyk(85%, 66.4%, 0%, 55.7%)
CIE-LABlab(18.79, 22.57, -45.42)
CIE-LCHlch(18.79, 50.71, 296.42°)
OKLaboklab(30.86% -0.0086 -0.1315)
OKLCHoklch(30.86% 0.132 266.2)
XYZxyz(3.9039, 2.6972, 15.9344)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112671 #715C11
analogous
#115671 #112671 #2C1171
triadic
#112671 #711126 #267111
tetradic
#112671 #711156 #715C11 #11712C
square
#112671 #711156 #715C11 #11712C
split-complementary
#112671 #712C11 #567111
monochromatic
#04091B #09143C #112671 #1938A6 #214ADB

Accessibility & contrast

On white

13.64
#112671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#112671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112671
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112671#FFFFFF#000000##FFFFFF
##1126711.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112671;
/* rgb */ color: rgb(17, 38, 113);
/* oklch */ color: oklch(30.9% 0.132 266.2);
Tailwind
colors: {
  custom: {
    50: '#62609b',
    500: '#112671',
    950: '#000000',
  },
}
SCSS
$custom: #112671;
$custom-light: #62609b;
$custom-dark: #000000;
JSON
{
  "hex": "#112671",
  "rgb": {
    "r": 17,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 226.875,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30856,
    "c": 0.13175,
    "h": 266.2
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#112671
secondary
#A88F36
accent
#C837F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #112671

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

Preview Lab → · Contrast checker → · Palette generator →

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