#112457#112457

#112457 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.096 H 265.2°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#112457
RGBrgb(17, 36, 87)
HSLhsl(224, 67%, 20%)
HSVhsv(224, 80%, 34%)
CMYKcmyk(80.5%, 58.6%, 0%, 65.9%)
CIE-LABlab(15.84, 13.04, -33.11)
CIE-LCHlch(15.84, 35.58, 291.50°)
OKLaboklab(27.92% -0.008 -0.0954)
OKLCHoklch(27.92% 0.096 265.2)
XYZxyz(2.5817, 2.0688, 9.2782)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112457 #574411
analogous
#114757 #112457 #211157
triadic
#112457 #571124 #245711
tetradic
#112457 #571147 #574411 #115721
square
#112457 #571147 #574411 #115721
split-complementary
#112457 #572111 #475711
monochromatic
#050B1A #070F24 #112457 #1B398A #254EBD

Accessibility & contrast

On white

14.85
#112457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#112457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112457
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112457#FFFFFF#000000##FFFFFF
##1124571.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #112457;
/* rgb */ color: rgb(17, 36, 87);
/* oklch */ color: oklch(27.9% 0.096 265.2);
Tailwind
colors: {
  custom: {
    50: '#5b5e87',
    500: '#112457',
    950: '#000000',
  },
}
SCSS
$custom: #112457;
$custom-light: #5b5e87;
$custom-dark: #000000;
JSON
{
  "hex": "#112457",
  "rgb": {
    "r": 17,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 223.714,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27923,
    "c": 0.0957,
    "h": 265.2
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#112457
secondary
#907734
accent
#BB3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112457

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

Preview Lab → · Contrast checker → · Palette generator →

#112457 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva