#112666#112666

#112666 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.116 H 265.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#112666
RGBrgb(17, 38, 102)
HSLhsl(225, 71%, 23%)
HSVhsv(225, 83%, 40%)
CMYKcmyk(83.3%, 62.7%, 0%, 60%)
CIE-LABlab(17.76, 17.97, -39.95)
CIE-LCHlch(17.76, 43.80, 294.22°)
OKLaboklab(29.77% -0.0087 -0.1154)
OKLCHoklch(29.77% 0.116 265.7)
XYZxyz(3.3217, 2.4643, 12.8684)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112666 #665111
analogous
#115066 #112666 #261166
triadic
#112666 #661126 #266611
tetradic
#112666 #661150 #665111 #116626
square
#112666 #661150 #665111 #116626
split-complementary
#112666 #662611 #506611
monochromatic
#040A1A #081232 #112666 #1A3A9A #224DCF

Accessibility & contrast

On white

14.07
#112666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#112666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112666
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112666#FFFFFF#000000##FFFFFF
##1126661.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112666;
/* rgb */ color: rgb(17, 38, 102);
/* oklch */ color: oklch(29.8% 0.116 265.7);
Tailwind
colors: {
  custom: {
    50: '#5f5f92',
    500: '#112666',
    950: '#000000',
  },
}
SCSS
$custom: #112666;
$custom-light: #5f5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#112666",
  "rgb": {
    "r": 17,
    "g": 38,
    "b": 102
  },
  "hsl": {
    "h": 225.176,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29771,
    "c": 0.11577,
    "h": 265.7
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#112666
secondary
#9E8435
accent
#C23AEE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #112666

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

Preview Lab → · Contrast checker → · Palette generator →

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