#112865#112865

#112865 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.112 H 264.7°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#112865
RGBrgb(17, 40, 101)
HSLhsl(224, 71%, 23%)
HSVhsv(224, 83%, 40%)
CMYKcmyk(83.2%, 60.4%, 0%, 60.4%)
CIE-LABlab(18.26, 16.07, -38.47)
CIE-LCHlch(18.26, 41.70, 292.67°)
OKLaboklab(30.12% -0.0102 -0.1111)
OKLCHoklch(30.12% 0.112 264.7)
XYZxyz(3.3381, 2.5760, 12.6307)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112865 #654E11
analogous
#115265 #112865 #241165
triadic
#112865 #651128 #286511
tetradic
#112865 #651152 #654E11 #116524
square
#112865 #651152 #654E11 #116524
split-complementary
#112865 #652411 #526511
monochromatic
#040A1A #081331 #112865 #1A3D99 #2351CE

Accessibility & contrast

On white

13.86
#112865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#112865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112865
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112865#FFFFFF#000000##FFFFFF
##1128651.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112865;
/* rgb */ color: rgb(17, 40, 101);
/* oklch */ color: oklch(30.1% 0.112 264.7);
Tailwind
colors: {
  custom: {
    50: '#5f6191',
    500: '#112865',
    950: '#000000',
  },
}
SCSS
$custom: #112865;
$custom-light: #5f6191;
$custom-dark: #000000;
JSON
{
  "hex": "#112865",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 223.571,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.11155,
    "h": 264.7
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#112865
secondary
#9D8135
accent
#BD3AEE
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #112865

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

Preview Lab → · Contrast checker → · Palette generator →

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