#112864#112864

#112864 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.110 H 264.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#112864
RGBrgb(17, 40, 100)
HSLhsl(223, 71%, 23%)
HSVhsv(223, 83%, 39%)
CMYKcmyk(83%, 60%, 0%, 60.8%)
CIE-LABlab(18.17, 15.65, -37.96)
CIE-LCHlch(18.17, 41.06, 292.40°)
OKLaboklab(30.03% -0.0103 -0.1096)
OKLCHoklch(30.03% 0.11 264.6)
XYZxyz(3.2894, 2.5565, 12.3742)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112864 #644D11
analogous
#115264 #112864 #231164
triadic
#112864 #641128 #286411
tetradic
#112864 #641152 #644D11 #116423
square
#112864 #641152 #644D11 #116423
split-complementary
#112864 #642311 #526411
monochromatic
#040A1A #081330 #112864 #1A3D98 #2352CD

Accessibility & contrast

On white

13.89
#112864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#112864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112864
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112864#FFFFFF#000000##FFFFFF
##1128641.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #112864;
/* rgb */ color: rgb(17, 40, 100);
/* oklch */ color: oklch(30.0% 0.110 264.6);
Tailwind
colors: {
  custom: {
    50: '#5e6191',
    500: '#112864',
    950: '#000000',
  },
}
SCSS
$custom: #112864;
$custom-light: #5e6191;
$custom-dark: #000000;
JSON
{
  "hex": "#112864",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 223.373,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30027,
    "c": 0.11004,
    "h": 264.6
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#112864
secondary
#9C8035
accent
#BC3AEE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #112864

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

Preview Lab → · Contrast checker → · Palette generator →

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