#111F40#111F40

#111F40 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.7% C 0.066 H 264.8°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#111F40
RGBrgb(17, 31, 64)
HSLhsl(222, 58%, 16%)
HSVhsv(222, 73%, 25%)
CMYKcmyk(73.4%, 51.6%, 0%, 74.9%)
CIE-LABlab(12.41, 6.90, -22.86)
CIE-LCHlch(12.41, 23.88, 286.81°)
OKLaboklab(24.73% -0.006 -0.0653)
OKLCHoklch(24.73% 0.066 264.8)
XYZxyz(1.6462, 1.4692, 5.0463)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F40 #403211
analogous
#113640 #111F40 #1A1140
triadic
#111F40 #40111F #1F4011
tetradic
#111F40 #401136 #403211 #11401A
square
#111F40 #401136 #403211 #11401A
split-complementary
#111F40 #401A11 #364011
monochromatic
#060C18 #060C18 #111F40 #1E3670 #2B4EA1

Accessibility & contrast

On white

16.23
#111F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#111F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F40
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F40#FFFFFF#000000##FFFFFF
##111F401.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2341
Deuteranopia (green-blind)
#071E3F
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #111f40;
/* rgb */ color: rgb(17, 31, 64);
/* oklch */ color: oklch(24.7% 0.066 264.8);
Tailwind
colors: {
  custom: {
    50: '#555a75',
    500: '#111f40',
    950: '#000000',
  },
}
SCSS
$custom: #111f40;
$custom-light: #555a75;
$custom-dark: #000000;
JSON
{
  "hex": "#111f40",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 222.128,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24729,
    "c": 0.06559,
    "h": 264.8
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#111F40
secondary
#796533
accent
#B347E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #111F40

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

Preview Lab → · Contrast checker → · Palette generator →

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