#111271#111271

#111271 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.154 H 269.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#111271
RGBrgb(17, 18, 113)
HSLhsl(239, 74%, 25%)
HSVhsv(239, 85%, 44%)
CMYKcmyk(85%, 84.1%, 0%, 55.7%)
CIE-LABlab(14.08, 35.53, -53.18)
CIE-LCHlch(14.08, 63.96, 303.75°)
OKLaboklab(27.47% -0.0004 -0.154)
OKLCHoklch(27.47% 0.154 269.9)
XYZxyz(3.4271, 1.7436, 15.7755)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111271 #717011
analogous
#114271 #111271 #401171
triadic
#111271 #711112 #127111
tetradic
#111271 #711142 #717011 #117140
square
#111271 #711142 #717011 #117140
split-complementary
#111271 #714011 #427111
monochromatic
#04041B #090A3C #111271 #191AA6 #2123DB

Accessibility & contrast

On white

15.57
#111271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#111271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111271
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111271#FFFFFF#000000##FFFFFF
##1112711.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #111271;
/* rgb */ color: rgb(17, 18, 113);
/* oklch */ color: oklch(27.5% 0.154 269.9);
Tailwind
colors: {
  custom: {
    50: '#64529b',
    500: '#111271',
    950: '#000000',
  },
}
SCSS
$custom: #111271;
$custom-light: #64529b;
$custom-dark: #000000;
JSON
{
  "hex": "#111271",
  "rgb": {
    "r": 17,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 239.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27468,
    "c": 0.154,
    "h": 269.9
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#111271
secondary
#A8A736
accent
#EF37F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #111271

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

Preview Lab → · Contrast checker → · Palette generator →

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