#112A80#112A80

#112A80 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.148 H 265.7°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#112A80
RGBrgb(17, 42, 128)
HSLhsl(226, 77%, 28%)
HSVhsv(226, 87%, 50%)
CMYKcmyk(86.7%, 67.2%, 0%, 49.8%)
CIE-LABlab(21.33, 25.86, -50.82)
CIE-LCHlch(21.33, 57.02, 296.97°)
OKLaboklab(33.18% -0.0111 -0.1472)
OKLCHoklch(33.18% 0.148 265.7)
XYZxyz(4.9540, 3.3330, 20.8001)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A80 #806711
analogous
#116180 #112A80 #2F1180
triadic
#112A80 #80112A #2A8011
tetradic
#112A80 #801161 #806711 #11802F
square
#112A80 #801161 #806711 #11802F
split-complementary
#112A80 #802F11 #618011
monochromatic
#04091B #0A184A #112A80 #183CB6 #2953E3

Accessibility & contrast

On white

12.60
#112A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#112A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A80
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A80#FFFFFF#000000##FFFFFF
##112A801.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #112a80;
/* rgb */ color: rgb(17, 42, 128);
/* oklch */ color: oklch(33.2% 0.148 265.7);
Tailwind
colors: {
  custom: {
    50: '#6663a6',
    500: '#112a80',
    950: '#000000',
  },
}
SCSS
$custom: #112a80;
$custom-light: #6663a6;
$custom-dark: #000000;
JSON
{
  "hex": "#112a80",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 226.486,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.14765,
    "h": 265.7
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#112A80
secondary
#B69937
accent
#C835F3
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #112A80

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

Preview Lab → · Contrast checker → · Palette generator →

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