#112A62#112A62

#112A62 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.104 H 263.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#112A62
RGBrgb(17, 42, 98)
HSLhsl(221, 70%, 23%)
HSVhsv(221, 83%, 38%)
CMYKcmyk(82.7%, 57.1%, 0%, 61.6%)
CIE-LABlab(18.61, 13.31, -35.93)
CIE-LCHlch(18.61, 38.31, 290.33°)
OKLaboklab(30.31% -0.012 -0.1036)
OKLCHoklch(30.31% 0.104 263.4)
XYZxyz(3.2629, 2.6566, 11.8937)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A62 #624911
analogous
#115362 #112A62 #201162
triadic
#112A62 #62112A #2A6211
tetradic
#112A62 #621153 #624911 #116220
square
#112A62 #621153 #624911 #116220
split-complementary
#112A62 #622011 #536211
monochromatic
#050B1A #08142E #112A62 #1A4096 #2357CA

Accessibility & contrast

On white

13.71
#112A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#112A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A62
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A62#FFFFFF#000000##FFFFFF
##112A621.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013164
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112a62;
/* rgb */ color: rgb(17, 42, 98);
/* oklch */ color: oklch(30.3% 0.104 263.4);
Tailwind
colors: {
  custom: {
    50: '#5e638f',
    500: '#112a62',
    950: '#000000',
  },
}
SCSS
$custom: #112a62;
$custom-light: #5e638f;
$custom-dark: #000000;
JSON
{
  "hex": "#112a62",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 221.481,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30307,
    "c": 0.10426,
    "h": 263.4
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#112A62
secondary
#9A7B34
accent
#B63BED
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112A62

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

Preview Lab → · Contrast checker → · Palette generator →

#112A62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva