#112F7E#112F7E

#112F7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.139 H 264.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#112F7E
RGBrgb(17, 47, 126)
HSLhsl(223, 76%, 28%)
HSVhsv(223, 87%, 49%)
CMYKcmyk(86.5%, 62.7%, 0%, 50.6%)
CIE-LABlab(22.51, 21.52, -47.63)
CIE-LCHlch(22.51, 52.27, 294.32°)
OKLaboklab(33.99% -0.0138 -0.1378)
OKLCHoklch(33.99% 0.139 264.3)
XYZxyz(5.0122, 3.6579, 20.1765)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F7E #7E6011
analogous
#11657E #112F7E #29117E
triadic
#112F7E #7E112F #2F7E11
tetradic
#112F7E #7E1165 #7E6011 #117E29
square
#112F7E #7E1165 #7E6011 #117E29
split-complementary
#112F7E #7E2911 #657E11
monochromatic
#040A1B #0A1B48 #112F7E #1843B4 #275BE2

Accessibility & contrast

On white

12.13
#112F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#112F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F7E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F7E#FFFFFF#000000##FFFFFF
##112F7E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #112f7e;
/* rgb */ color: rgb(17, 47, 126);
/* oklch */ color: oklch(34.0% 0.139 264.3);
Tailwind
colors: {
  custom: {
    50: '#6567a4',
    500: '#112f7e',
    950: '#000000',
  },
}
SCSS
$custom: #112f7e;
$custom-light: #6567a4;
$custom-dark: #000000;
JSON
{
  "hex": "#112f7e",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 223.486,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33993,
    "c": 0.13852,
    "h": 264.3
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#112F7E
secondary
#B49237
accent
#BF35F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #112F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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