#112F7D#112F7D

#112F7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.137 H 264.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#112F7D
RGBrgb(17, 47, 125)
HSLhsl(223, 76%, 28%)
HSVhsv(223, 86%, 49%)
CMYKcmyk(86.4%, 62.4%, 0%, 51%)
CIE-LABlab(22.42, 21.11, -47.15)
CIE-LCHlch(22.42, 51.66, 294.12°)
OKLaboklab(33.9% -0.0138 -0.1364)
OKLCHoklch(33.9% 0.137 264.2)
XYZxyz(4.9480, 3.6323, 19.8384)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F7D #7D5F11
analogous
#11657D #112F7D #29117D
triadic
#112F7D #7D112F #2F7D11
tetradic
#112F7D #7D1165 #7D5F11 #117D29
square
#112F7D #7D1165 #7D5F11 #117D29
split-complementary
#112F7D #7D2911 #657D11
monochromatic
#040A1B #0A1B47 #112F7D #1843B3 #275BE2

Accessibility & contrast

On white

12.16
#112F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112F7D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F7D#FFFFFF#000000##FFFFFF
##112F7D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #112f7d;
/* rgb */ color: rgb(17, 47, 125);
/* oklch */ color: oklch(33.9% 0.137 264.2);
Tailwind
colors: {
  custom: {
    50: '#6567a3',
    500: '#112f7d',
    950: '#000000',
  },
}
SCSS
$custom: #112f7d;
$custom-light: #6567a3;
$custom-dark: #000000;
JSON
{
  "hex": "#112f7d",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 223.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33897,
    "c": 0.13711,
    "h": 264.2
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#112F7D
secondary
#B39137
accent
#BE35F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #112F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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