#112862#112862

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

Color values

HEX#112862
RGBrgb(17, 40, 98)
HSLhsl(223, 70%, 23%)
HSVhsv(223, 83%, 38%)
CMYKcmyk(82.7%, 59.2%, 0%, 61.6%)
CIE-LABlab(18.00, 14.79, -36.92)
CIE-LCHlch(18.00, 39.77, 291.83°)
OKLaboklab(29.84% -0.0104 -0.1065)
OKLCHoklch(29.84% 0.107 264.4)
XYZxyz(3.1938, 2.5182, 11.8706)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112862 #624B11
analogous
#115062 #112862 #221162
triadic
#112862 #621128 #286211
tetradic
#112862 #621150 #624B11 #116222
square
#112862 #621150 #624B11 #116222
split-complementary
#112862 #622211 #506211
monochromatic
#050B1A #08132E #112862 #1A3D96 #2353CA

Accessibility & contrast

On white

13.96
#112862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#112862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112862
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112862#FFFFFF#000000##FFFFFF
##1128621.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112862;
/* rgb */ color: rgb(17, 40, 98);
/* oklch */ color: oklch(29.8% 0.107 264.4);
Tailwind
colors: {
  custom: {
    50: '#5e618f',
    500: '#112862',
    950: '#000000',
  },
}
SCSS
$custom: #112862;
$custom-light: #5e618f;
$custom-dark: #000000;
JSON
{
  "hex": "#112862",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 222.963,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29844,
    "c": 0.10703,
    "h": 264.4
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#112862
secondary
#9A7D34
accent
#BA3BED
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112862

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

Preview Lab → · Contrast checker → · Palette generator →

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