#112A63#112A63

#112A63 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.106 H 263.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#112A63
RGBrgb(17, 42, 99)
HSLhsl(222, 71%, 23%)
HSVhsv(222, 83%, 39%)
CMYKcmyk(82.8%, 57.6%, 0%, 61.2%)
CIE-LABlab(18.69, 13.74, -36.45)
CIE-LCHlch(18.69, 38.96, 290.65°)
OKLaboklab(30.4% -0.0119 -0.1051)
OKLCHoklch(30.4% 0.106 263.5)
XYZxyz(3.3105, 2.6756, 12.1439)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A63 #634A11
analogous
#115363 #112A63 #211163
triadic
#112A63 #63112A #2A6311
tetradic
#112A63 #631153 #634A11 #116321
square
#112A63 #631153 #634A11 #116321
split-complementary
#112A63 #632111 #536311
monochromatic
#040B1A #08142F #112A63 #1A4097 #2356CB

Accessibility & contrast

On white

13.68
#112A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#112A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A63
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A63#FFFFFF#000000##FFFFFF
##112A631.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112a63;
/* rgb */ color: rgb(17, 42, 99);
/* oklch */ color: oklch(30.4% 0.106 263.5);
Tailwind
colors: {
  custom: {
    50: '#5e6390',
    500: '#112a63',
    950: '#000000',
  },
}
SCSS
$custom: #112a63;
$custom-light: #5e6390;
$custom-dark: #000000;
JSON
{
  "hex": "#112a63",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 221.707,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30395,
    "c": 0.10578,
    "h": 263.5
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#112A63
secondary
#9B7C34
accent
#B73AED
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112A63

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

Preview Lab → · Contrast checker → · Palette generator →

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