#112255#112255

#112255 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.095 H 266.2°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#112255
RGBrgb(17, 34, 85)
HSLhsl(225, 67%, 20%)
HSVhsv(225, 80%, 33%)
CMYKcmyk(80%, 60%, 0%, 66.7%)
CIE-LABlab(15.06, 13.69, -33.04)
CIE-LCHlch(15.06, 35.76, 292.50°)
OKLaboklab(27.27% -0.0064 -0.0952)
OKLCHoklch(27.27% 0.095 266.2)
XYZxyz(2.4423, 1.9188, 8.8342)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112255 #554411
analogous
#114455 #112255 #221155
triadic
#112255 #551122 #225511
tetradic
#112255 #551144 #554411 #115522
square
#112255 #551144 #554411 #115522
split-complementary
#112255 #552211 #445511
monochromatic
#050A1A #070E22 #112255 #1B3688 #254BBB

Accessibility & contrast

On white

15.18
#112255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#112255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112255
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112255#FFFFFF#000000##FFFFFF
##1122551.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112255;
/* rgb */ color: rgb(17, 34, 85);
/* oklch */ color: oklch(27.3% 0.095 266.2);
Tailwind
colors: {
  custom: {
    50: '#5a5c85',
    500: '#112255',
    950: '#000000',
  },
}
SCSS
$custom: #112255;
$custom-light: #5a5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#112255",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.27274,
    "c": 0.09542,
    "h": 266.2
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#112255
secondary
#8E7834
accent
#BF3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112255

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

Preview Lab → · Contrast checker → · Palette generator →

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