#113271#113271

#113271 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.116 H 261.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#113271
RGBrgb(17, 50, 113)
HSLhsl(219, 74%, 25%)
HSVhsv(219, 85%, 44%)
CMYKcmyk(85%, 55.8%, 0%, 55.7%)
CIE-LABlab(22.27, 13.89, -39.73)
CIE-LCHlch(22.27, 42.09, 289.27°)
OKLaboklab(33.47% -0.0167 -0.1146)
OKLCHoklch(33.47% 0.116 261.7)
XYZxyz(4.3513, 3.5921, 16.0836)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#113271 #715011
analogous
#116271 #113271 #201171
triadic
#113271 #711132 #327111
tetradic
#113271 #711162 #715011 #117120
square
#113271 #711162 #715011 #117120
split-complementary
#113271 #712011 #627111
monochromatic
#040C1B #091A3C #113271 #194AA6 #2161DB

Accessibility & contrast

On white

12.22
#113271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#113271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #113271
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##113271#FFFFFF#000000##FFFFFF
##1132711.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #113271;
/* rgb */ color: rgb(17, 50, 113);
/* oklch */ color: oklch(33.5% 0.116 261.7);
Tailwind
colors: {
  custom: {
    50: '#61699a',
    500: '#113271',
    950: '#000000',
  },
}
SCSS
$custom: #113271;
$custom-light: #61699a;
$custom-dark: #000000;
JSON
{
  "hex": "#113271",
  "rgb": {
    "r": 17,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 219.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33471,
    "c": 0.1158,
    "h": 261.7
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#113271
secondary
#A88136
accent
#B137F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #113271

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

Preview Lab → · Contrast checker → · Palette generator →

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