#112F7F#112F7F

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

Color values

HEX#112F7F
RGBrgb(17, 47, 127)
HSLhsl(224, 76%, 28%)
HSVhsv(224, 87%, 50%)
CMYKcmyk(86.6%, 63%, 0%, 50.2%)
CIE-LABlab(22.60, 21.94, -48.11)
CIE-LCHlch(22.60, 52.88, 294.51°)
OKLaboklab(34.09% -0.0138 -0.1393)
OKLCHoklch(34.09% 0.14 264.3)
XYZxyz(5.0771, 3.6839, 20.5180)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112F7F #7F6111
analogous
#11667F #112F7F #2A117F
triadic
#112F7F #7F112F #2F7F11
tetradic
#112F7F #7F1166 #7F6111 #117F2A
square
#112F7F #7F1166 #7F6111 #117F2A
split-complementary
#112F7F #7F2A11 #667F11
monochromatic
#040A1B #0A1B49 #112F7F #1843B5 #285BE2

Accessibility & contrast

On white

12.09
#112F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#112F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112F7F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112F7F#FFFFFF#000000##FFFFFF
##112F7F1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #112f7f;
/* rgb */ color: rgb(17, 47, 127);
/* oklch */ color: oklch(34.1% 0.140 264.3);
Tailwind
colors: {
  custom: {
    50: '#6667a5',
    500: '#112f7f',
    950: '#000000',
  },
}
SCSS
$custom: #112f7f;
$custom-light: #6667a5;
$custom-dark: #000000;
JSON
{
  "hex": "#112f7f",
  "rgb": {
    "r": 17,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 223.636,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34089,
    "c": 0.13993,
    "h": 264.3
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #112F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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