#112168#112168

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

Color values

HEX#112168
RGBrgb(17, 33, 104)
HSLhsl(229, 72%, 24%)
HSVhsv(229, 84%, 41%)
CMYKcmyk(83.7%, 68.3%, 0%, 59.2%)
CIE-LABlab(16.53, 22.44, -43.26)
CIE-LCHlch(16.53, 48.73, 297.41°)
OKLaboklab(28.92% -0.0054 -0.1252)
OKLCHoklch(28.92% 0.125 267.5)
XYZxyz(3.2728, 2.2060, 13.3473)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112168 #685811
analogous
#114C68 #112168 #2C1168
triadic
#112168 #681121 #216811
tetradic
#112168 #68114C #685811 #11682C
square
#112168 #68114C #685811 #11682C
split-complementary
#112168 #682C11 #4C6811
monochromatic
#04081A #081033 #112168 #1A329D #2242D1

Accessibility & contrast

On white

14.57
#112168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112168
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112168#FFFFFF#000000##FFFFFF
##1121681.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #112168;
/* rgb */ color: rgb(17, 33, 104);
/* oklch */ color: oklch(28.9% 0.125 267.5);
Tailwind
colors: {
  custom: {
    50: '#605c94',
    500: '#112168',
    950: '#000000',
  },
}
SCSS
$custom: #112168;
$custom-light: #605c94;
$custom-dark: #000000;
JSON
{
  "hex": "#112168",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 228.966,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28922,
    "c": 0.12533,
    "h": 267.5
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#112168
secondary
#A08C35
accent
#CD39EF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #112168

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

Preview Lab → · Contrast checker → · Palette generator →

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