#112A5F#112A5F

#112A5F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.100 H 262.9°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#112A5F
RGBrgb(17, 42, 95)
HSLhsl(221, 70%, 22%)
HSVhsv(221, 82%, 37%)
CMYKcmyk(82.1%, 55.8%, 0%, 62.7%)
CIE-LABlab(18.37, 12.02, -34.34)
CIE-LCHlch(18.37, 36.39, 289.29°)
OKLaboklab(30.05% -0.0124 -0.0989)
OKLCHoklch(30.05% 0.1 262.9)
XYZxyz(3.1240, 2.6010, 11.1616)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A5F #5F4611
analogous
#11515F #112A5F #1F115F
triadic
#112A5F #5F112A #2A5F11
tetradic
#112A5F #5F1151 #5F4611 #115F1F
square
#112A5F #5F1151 #5F4611 #115F1F
split-complementary
#112A5F #5F1F11 #515F11
monochromatic
#050B1A #08132B #112A5F #1A4193 #2458C7

Accessibility & contrast

On white

13.81
#112A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#112A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A5F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A5F#FFFFFF#000000##FFFFFF
##112A5F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063161
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112a5f;
/* rgb */ color: rgb(17, 42, 95);
/* oklch */ color: oklch(30.0% 0.100 262.9);
Tailwind
colors: {
  custom: {
    50: '#5d638d',
    500: '#112a5f',
    950: '#000000',
  },
}
SCSS
$custom: #112a5f;
$custom-light: #5d638d;
$custom-dark: #000000;
JSON
{
  "hex": "#112a5f",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 220.769,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30045,
    "c": 0.09967,
    "h": 262.9
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#112A5F
secondary
#987834
accent
#B43BEC
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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