#112257#112257

#112257 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.099 H 266.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#112257
RGBrgb(17, 34, 87)
HSLhsl(225, 67%, 20%)
HSVhsv(225, 80%, 34%)
CMYKcmyk(80.5%, 60.9%, 0%, 65.9%)
CIE-LABlab(15.23, 14.54, -34.11)
CIE-LCHlch(15.23, 37.08, 293.10°)
OKLaboklab(27.46% -0.0062 -0.0984)
OKLCHoklch(27.46% 0.099 266.4)
XYZxyz(2.5229, 1.9511, 9.2586)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112257 #574611
analogous
#114557 #112257 #231157
triadic
#112257 #571122 #225711
tetradic
#112257 #571145 #574611 #115723
square
#112257 #571145 #574611 #115723
split-complementary
#112257 #572311 #455711
monochromatic
#050A1A #070E24 #112257 #1B368A #254ABD

Accessibility & contrast

On white

15.11
#112257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#112257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112257
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112257#FFFFFF#000000##FFFFFF
##1122571.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112257;
/* rgb */ color: rgb(17, 34, 87);
/* oklch */ color: oklch(27.5% 0.099 266.4);
Tailwind
colors: {
  custom: {
    50: '#5b5c87',
    500: '#112257',
    950: '#000000',
  },
}
SCSS
$custom: #112257;
$custom-light: #5b5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#112257",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 225.429,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27459,
    "c": 0.09855,
    "h": 266.4
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#112257
secondary
#907A34
accent
#C03EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112257

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

Preview Lab → · Contrast checker → · Palette generator →

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