#111F7E#111F7E

#111F7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.158 H 267.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#111F7E
RGBrgb(17, 31, 126)
HSLhsl(232, 76%, 28%)
HSVhsv(232, 87%, 49%)
CMYKcmyk(86.5%, 75.4%, 0%, 50.6%)
CIE-LABlab(18.39, 32.47, -54.40)
CIE-LCHlch(18.39, 63.36, 300.83°)
OKLaboklab(30.98% -0.0063 -0.1577)
OKLCHoklch(30.98% 0.158 267.7)
XYZxyz(4.4857, 2.6050, 20.0010)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F7E #7E7011
analogous
#11557E #111F7E #3A117E
triadic
#111F7E #7E111F #1F7E11
tetradic
#111F7E #7E1155 #7E7011 #117E3A
square
#111F7E #7E1155 #7E7011 #117E3A
split-complementary
#111F7E #7E3A11 #557E11
monochromatic
#04071B #0A1248 #111F7E #182CB4 #273FE2

Accessibility & contrast

On white

13.80
#111F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#111F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F7E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F7E#FFFFFF#000000##FFFFFF
##111F7E1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #111f7e;
/* rgb */ color: rgb(17, 31, 126);
/* oklch */ color: oklch(31.0% 0.158 267.7);
Tailwind
colors: {
  custom: {
    50: '#675ba4',
    500: '#111f7e',
    950: '#000000',
  },
}
SCSS
$custom: #111f7e;
$custom-light: #675ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#111f7e",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 232.294,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30976,
    "c": 0.15783,
    "h": 267.7
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#111F7E
secondary
#B4A437
accent
#DA35F3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #111F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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