#112A64#112A64

#112A64 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.107 H 263.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#112A64
RGBrgb(17, 42, 100)
HSLhsl(222, 71%, 23%)
HSVhsv(222, 83%, 39%)
CMYKcmyk(83%, 58%, 0%, 60.8%)
CIE-LABlab(18.78, 14.17, -36.97)
CIE-LCHlch(18.78, 39.60, 290.97°)
OKLaboklab(30.48% -0.0118 -0.1066)
OKLCHoklch(30.48% 0.107 263.7)
XYZxyz(3.3586, 2.6948, 12.3973)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A64 #644B11
analogous
#115364 #112A64 #221164
triadic
#112A64 #64112A #2A6411
tetradic
#112A64 #641153 #644B11 #116422
square
#112A64 #641153 #644B11 #116422
split-complementary
#112A64 #642211 #536411
monochromatic
#040B1A #081430 #112A64 #1A4098 #2356CD

Accessibility & contrast

On white

13.65
#112A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112A64
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A64#FFFFFF#000000##FFFFFF
##112A641.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112a64;
/* rgb */ color: rgb(17, 42, 100);
/* oklch */ color: oklch(30.5% 0.107 263.7);
Tailwind
colors: {
  custom: {
    50: '#5e6391',
    500: '#112a64',
    950: '#000000',
  },
}
SCSS
$custom: #112a64;
$custom-light: #5e6391;
$custom-dark: #000000;
JSON
{
  "hex": "#112a64",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 221.928,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30484,
    "c": 0.10729,
    "h": 263.7
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#112A64
secondary
#9C7D35
accent
#B83AEE
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #112A64

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

Preview Lab → · Contrast checker → · Palette generator →

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