#112254#112254

#112254 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.094 H 266.1°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#112254
RGBrgb(17, 34, 84)
HSLhsl(225, 66%, 20%)
HSVhsv(225, 80%, 33%)
CMYKcmyk(79.8%, 59.5%, 0%, 67.1%)
CIE-LABlab(14.97, 13.25, -32.50)
CIE-LCHlch(14.97, 35.10, 292.19°)
OKLaboklab(27.18% -0.0064 -0.0936)
OKLCHoklch(27.18% 0.094 266.1)
XYZxyz(2.4029, 1.9031, 8.6265)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112254 #544311
analogous
#114454 #112254 #211154
triadic
#112254 #541122 #225411
tetradic
#112254 #541144 #544311 #115421
square
#112254 #541144 #544311 #115421
split-complementary
#112254 #542111 #445411
monochromatic
#050A19 #070D21 #112254 #1B3787 #264BBA

Accessibility & contrast

On white

15.21
#112254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#112254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112254
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112254#FFFFFF#000000##FFFFFF
##1122541.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112254;
/* rgb */ color: rgb(17, 34, 84);
/* oklch */ color: oklch(27.2% 0.094 266.1);
Tailwind
colors: {
  custom: {
    50: '#5a5c85',
    500: '#112254',
    950: '#000000',
  },
}
SCSS
$custom: #112254;
$custom-light: #5a5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#112254",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 224.776,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27183,
    "c": 0.09386,
    "h": 266.1
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#112254
secondary
#8D7634
accent
#BE3FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #112254

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

Preview Lab → · Contrast checker → · Palette generator →

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