#112766#112766

#112766 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.114 H 265.3°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#112766
RGBrgb(17, 39, 102)
HSLhsl(224, 71%, 23%)
HSVhsv(224, 83%, 40%)
CMYKcmyk(83.3%, 61.8%, 0%, 60%)
CIE-LABlab(18.05, 17.24, -39.47)
CIE-LCHlch(18.05, 43.07, 293.59°)
OKLaboklab(29.99% -0.0094 -0.114)
OKLCHoklch(29.99% 0.114 265.3)
XYZxyz(3.3541, 2.5291, 12.8792)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112766 #665011
analogous
#115166 #112766 #251166
triadic
#112766 #661127 #276611
tetradic
#112766 #661151 #665011 #116625
square
#112766 #661151 #665011 #116625
split-complementary
#112766 #662511 #516611
monochromatic
#040A1A #081332 #112766 #1A3B9A #224FCF

Accessibility & contrast

On white

13.94
#112766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#112766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112766
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112766#FFFFFF#000000##FFFFFF
##1127661.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112766;
/* rgb */ color: rgb(17, 39, 102);
/* oklch */ color: oklch(30.0% 0.114 265.3);
Tailwind
colors: {
  custom: {
    50: '#5f6092',
    500: '#112766',
    950: '#000000',
  },
}
SCSS
$custom: #112766;
$custom-light: #5f6092;
$custom-dark: #000000;
JSON
{
  "hex": "#112766",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 224.471,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2999,
    "c": 0.11441,
    "h": 265.3
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#112766
secondary
#9E8335
accent
#BF3AEE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #112766

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

Preview Lab → · Contrast checker → · Palette generator →

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