#111F74#111F74

#111F74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.145 H 267.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#111F74
RGBrgb(17, 31, 116)
HSLhsl(232, 74%, 26%)
HSVhsv(232, 85%, 45%)
CMYKcmyk(85.3%, 73.3%, 0%, 54.5%)
CIE-LABlab(17.27, 28.64, -49.84)
CIE-LCHlch(17.27, 57.49, 299.88°)
OKLaboklab(29.84% -0.0052 -0.1444)
OKLCHoklch(29.84% 0.145 267.9)
XYZxyz(3.8724, 2.3596, 16.7710)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111F74 #746611
analogous
#115074 #111F74 #341174
triadic
#111F74 #74111F #1F7411
tetradic
#111F74 #741150 #746611 #117434
square
#111F74 #741150 #746611 #117434
split-complementary
#111F74 #743411 #507411
monochromatic
#04071B #09113F #111F74 #192DA9 #213CDE

Accessibility & contrast

On white

14.27
#111F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#111F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111F74
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111F74#FFFFFF#000000##FFFFFF
##111F741.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #111f74;
/* rgb */ color: rgb(17, 31, 116);
/* oklch */ color: oklch(29.8% 0.145 267.9);
Tailwind
colors: {
  custom: {
    50: '#645b9d',
    500: '#111f74',
    950: '#000000',
  },
}
SCSS
$custom: #111f74;
$custom-light: #645b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#111f74",
  "rgb": {
    "r": 17,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 231.515,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29841,
    "c": 0.14454,
    "h": 267.9
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#111F74
secondary
#AB9A36
accent
#D737F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #111F74

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

Preview Lab → · Contrast checker → · Palette generator →

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