#111F71#111F71

#111F71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.140 H 268.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#111F71
RGBrgb(17, 31, 113)
HSLhsl(231, 74%, 25%)
HSVhsv(231, 85%, 44%)
CMYKcmyk(85%, 72.6%, 0%, 55.7%)
CIE-LABlab(16.95, 27.46, -48.44)
CIE-LCHlch(16.95, 55.69, 299.55°)
OKLaboklab(29.51% -0.005 -0.1404)
OKLCHoklch(29.51% 0.14 268)
XYZxyz(3.7008, 2.2910, 15.8667)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F71 #716311
analogous
#114F71 #111F71 #331171
triadic
#111F71 #71111F #1F7111
tetradic
#111F71 #71114F #716311 #117133
square
#111F71 #71114F #716311 #117133
split-complementary
#111F71 #713311 #4F7111
monochromatic
#04071B #09103C #111F71 #192EA6 #213CDB

Accessibility & contrast

On white

14.40
#111F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#111F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F71
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F71#FFFFFF#000000##FFFFFF
##111F711.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #111f71;
/* rgb */ color: rgb(17, 31, 113);
/* oklch */ color: oklch(29.5% 0.140 268.0);
Tailwind
colors: {
  custom: {
    50: '#635b9b',
    500: '#111f71',
    950: '#000000',
  },
}
SCSS
$custom: #111f71;
$custom-light: #635b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#111f71",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 231.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29507,
    "c": 0.14045,
    "h": 268
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#111F71
secondary
#A89836
accent
#D537F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #111F71

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

Preview Lab → · Contrast checker → · Palette generator →

#111F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva