#112662#112662

#112662 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.110 H 265.4°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#112662
RGBrgb(17, 38, 98)
HSLhsl(224, 70%, 23%)
HSVhsv(224, 83%, 38%)
CMYKcmyk(82.7%, 61.2%, 0%, 61.6%)
CIE-LABlab(17.40, 16.27, -37.90)
CIE-LCHlch(17.40, 41.24, 293.23°)
OKLaboklab(29.39% -0.0088 -0.1094)
OKLCHoklch(29.39% 0.11 265.4)
XYZxyz(3.1281, 2.3869, 11.8488)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112662 #624D11
analogous
#114F62 #112662 #241162
triadic
#112662 #621126 #266211
tetradic
#112662 #62114F #624D11 #116224
square
#112662 #62114F #624D11 #116224
split-complementary
#112662 #622411 #4F6211
monochromatic
#050A1A #08122E #112662 #1A3A96 #234ECA

Accessibility & contrast

On white

14.21
#112662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#112662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112662
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112662#FFFFFF#000000##FFFFFF
##1126621.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #112662;
/* rgb */ color: rgb(17, 38, 98);
/* oklch */ color: oklch(29.4% 0.110 265.4);
Tailwind
colors: {
  custom: {
    50: '#5e5f8f',
    500: '#112662',
    950: '#000000',
  },
}
SCSS
$custom: #112662;
$custom-light: #5e5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#112662",
  "rgb": {
    "r": 17,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 224.444,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29391,
    "c": 0.10979,
    "h": 265.4
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#112662
secondary
#9A8034
accent
#BF3BED
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #112662

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

Preview Lab → · Contrast checker → · Palette generator →

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