#111954#111954

#111954 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.106 H 270.5°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#111954
RGBrgb(17, 25, 84)
HSLhsl(233, 66%, 20%)
HSVhsv(233, 80%, 33%)
CMYKcmyk(79.8%, 70.2%, 0%, 67.1%)
CIE-LABlab(12.31, 19.98, -36.83)
CIE-LCHlch(12.31, 41.90, 298.48°)
OKLaboklab(25.21% 0.001 -0.1065)
OKLCHoklch(25.21% 0.106 270.5)
XYZxyz(2.1785, 1.4543, 8.5517)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#111954 #544C11
analogous
#113B54 #111954 #2B1154
triadic
#111954 #541119 #195411
tetradic
#111954 #54113B #544C11 #11542B
square
#111954 #54113B #544C11 #11542B
split-complementary
#111954 #542B11 #3B5411
monochromatic
#050819 #070A21 #111954 #1B2887 #2637BA

Accessibility & contrast

On white

16.27
#111954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#111954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #111954
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##111954#FFFFFF#000000##FFFFFF
##1119541.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #111954;
/* rgb */ color: rgb(17, 25, 84);
/* oklch */ color: oklch(25.2% 0.106 270.5);
Tailwind
colors: {
  custom: {
    50: '#5b5585',
    500: '#111954',
    950: '#000000',
  },
}
SCSS
$custom: #111954;
$custom-light: #5b5585;
$custom-dark: #000000;
JSON
{
  "hex": "#111954",
  "rgb": {
    "r": 17,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 232.836,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25207,
    "c": 0.10647,
    "h": 270.5
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#111954
secondary
#8D8234
accent
#D53FE9
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #111954

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

Preview Lab → · Contrast checker → · Palette generator →

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