#112240#112240

#112240 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.061 H 260.9°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#112240
RGBrgb(17, 34, 64)
HSLhsl(218, 58%, 16%)
HSVhsv(218, 73%, 25%)
CMYKcmyk(73.4%, 46.9%, 0%, 74.9%)
CIE-LABlab(13.43, 4.62, -21.23)
CIE-LCHlch(13.43, 21.72, 282.29°)
OKLaboklab(25.52% -0.0097 -0.0605)
OKLCHoklch(25.52% 0.061 260.9)
XYZxyz(1.7283, 1.6332, 5.0737)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112240 #402F11
analogous
#113940 #112240 #171140
triadic
#112240 #401122 #224011
tetradic
#112240 #401139 #402F11 #114017
square
#112240 #401139 #402F11 #114017
split-complementary
#112240 #401711 #394011
monochromatic
#060D18 #060D18 #112240 #1E3C70 #2B55A1

Accessibility & contrast

On white

15.83
#112240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#112240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112240
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112240#FFFFFF#000000##FFFFFF
##1122401.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142541
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #112240;
/* rgb */ color: rgb(17, 34, 64);
/* oklch */ color: oklch(25.5% 0.061 260.9);
Tailwind
colors: {
  custom: {
    50: '#555c75',
    500: '#112240',
    950: '#000000',
  },
}
SCSS
$custom: #112240;
$custom-light: #555c75;
$custom-dark: #000000;
JSON
{
  "hex": "#112240",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 218.298,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25515,
    "c": 0.06125,
    "h": 260.9
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#112240
secondary
#796033
accent
#A947E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #112240

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

Preview Lab → · Contrast checker → · Palette generator →

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