#112259#112259

#112259 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.102 H 266.5°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#112259
RGBrgb(17, 34, 89)
HSLhsl(226, 68%, 21%)
HSVhsv(226, 81%, 35%)
CMYKcmyk(80.9%, 61.8%, 0%, 65.1%)
CIE-LABlab(15.40, 15.40, -35.16)
CIE-LCHlch(15.40, 38.39, 293.65°)
OKLaboklab(27.65% -0.0061 -0.1015)
OKLCHoklch(27.65% 0.102 266.5)
XYZxyz(2.6057, 1.9842, 9.6949)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112259 #594811
analogous
#114659 #112259 #241159
triadic
#112259 #591122 #225911
tetradic
#112259 #591146 #594811 #115924
square
#112259 #591146 #594811 #115924
split-complementary
#112259 #592411 #465911
monochromatic
#050A1A #070E26 #112259 #1B368C #2549C0

Accessibility & contrast

On white

15.03
#112259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#112259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112259
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112259#FFFFFF#000000##FFFFFF
##1122591.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #112259;
/* rgb */ color: rgb(17, 34, 89);
/* oklch */ color: oklch(27.6% 0.102 266.5);
Tailwind
colors: {
  custom: {
    50: '#5c5c88',
    500: '#112259',
    950: '#000000',
  },
}
SCSS
$custom: #112259;
$custom-light: #5c5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#112259",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 225.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27646,
    "c": 0.10164,
    "h": 266.5
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#112259
secondary
#927C34
accent
#C23DEB
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #112259

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

Preview Lab → · Contrast checker → · Palette generator →

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