#112242#112242

#112242 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.7% C 0.065 H 261.8°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#112242
RGBrgb(17, 34, 66)
HSLhsl(219, 59%, 16%)
HSVhsv(219, 74%, 26%)
CMYKcmyk(74.2%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.57, 5.48, -22.40)
CIE-LCHlch(13.57, 23.06, 283.74°)
OKLaboklab(25.67% -0.0092 -0.0639)
OKLCHoklch(25.67% 0.065 261.8)
XYZxyz(1.7862, 1.6564, 5.3788)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112242 #423111
analogous
#113B42 #112242 #191142
triadic
#112242 #421122 #224211
tetradic
#112242 #42113B #423111 #114219
square
#112242 #42113B #423111 #114219
split-complementary
#112242 #421911 #3B4211
monochromatic
#060D18 #060D18 #112242 #1E3B73 #2A54A3

Accessibility & contrast

On white

15.77
#112242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112242
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112242#FFFFFF#000000##FFFFFF
##1122421.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#0B2141
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #112242;
/* rgb */ color: rgb(17, 34, 66);
/* oklch */ color: oklch(25.7% 0.065 261.8);
Tailwind
colors: {
  custom: {
    50: '#555c76',
    500: '#112242',
    950: '#000000',
  },
}
SCSS
$custom: #112242;
$custom-light: #555c76;
$custom-dark: #000000;
JSON
{
  "hex": "#112242",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 219.184,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25667,
    "c": 0.06459,
    "h": 261.8
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#112242
secondary
#7C6233
accent
#AC46E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #112242

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

Preview Lab → · Contrast checker → · Palette generator →

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