#112266#112266

#112266 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.9% C 0.121 H 267.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#112266
RGBrgb(17, 34, 102)
HSLhsl(228, 71%, 23%)
HSVhsv(228, 83%, 40%)
CMYKcmyk(83.3%, 66.7%, 0%, 60%)
CIE-LABlab(16.61, 20.89, -41.82)
CIE-LCHlch(16.61, 46.74, 296.54°)
OKLaboklab(28.92% -0.006 -0.121)
OKLCHoklch(28.92% 0.121 267.2)
XYZxyz(3.2006, 2.2222, 12.8280)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112266 #665511
analogous
#114C66 #112266 #2A1166
triadic
#112266 #661122 #226611
tetradic
#112266 #66114C #665511 #11662A
square
#112266 #66114C #665511 #11662A
split-complementary
#112266 #662A11 #4C6611
monochromatic
#04091A #081132 #112266 #1A339A #2245CF

Accessibility & contrast

On white

14.54
#112266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#112266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112266
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112266#FFFFFF#000000##FFFFFF
##1122661.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #112266;
/* rgb */ color: rgb(17, 34, 102);
/* oklch */ color: oklch(28.9% 0.121 267.2);
Tailwind
colors: {
  custom: {
    50: '#5f5c92',
    500: '#112266',
    950: '#000000',
  },
}
SCSS
$custom: #112266;
$custom-light: #5f5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#112266",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 228,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2892,
    "c": 0.12113,
    "h": 267.2
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#112266
secondary
#9E8935
accent
#CA3AEE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #112266

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

Preview Lab → · Contrast checker → · Palette generator →

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