#111F5A#111F5A

#111F5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.107 H 268.0°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#111F5A
RGBrgb(17, 31, 90)
HSLhsl(228, 68%, 21%)
HSVhsv(228, 81%, 35%)
CMYKcmyk(81.1%, 65.6%, 0%, 64.7%)
CIE-LABlab(14.61, 18.07, -37.13)
CIE-LCHlch(14.61, 41.29, 295.94°)
OKLaboklab(27.08% -0.0037 -0.1073)
OKLCHoklch(27.08% 0.107 268)
XYZxyz(2.5660, 1.8370, 9.8902)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F5A #5A4C11
analogous
#11435A #111F5A #27115A
triadic
#111F5A #5A111F #1F5A11
tetradic
#111F5A #5A1143 #5A4C11 #115A27
square
#111F5A #5A1143 #5A4C11 #115A27
split-complementary
#111F5A #5A2711 #435A11
monochromatic
#05091A #070D27 #111F5A #1B318D #2442C1

Accessibility & contrast

On white

15.36
#111F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#111F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F5A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F5A#FFFFFF#000000##FFFFFF
##111F5A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #111f5a;
/* rgb */ color: rgb(17, 31, 90);
/* oklch */ color: oklch(27.1% 0.107 268.0);
Tailwind
colors: {
  custom: {
    50: '#5c5a89',
    500: '#111f5a',
    950: '#000000',
  },
}
SCSS
$custom: #111f5a;
$custom-light: #5c5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#111f5a",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 228.493,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2708,
    "c": 0.10734,
    "h": 268
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#111F5A
secondary
#938134
accent
#CA3DEB
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #111F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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