#112262#112262

#112262 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.115 H 267.1°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#112262
RGBrgb(17, 34, 98)
HSLhsl(227, 70%, 23%)
HSVhsv(227, 83%, 38%)
CMYKcmyk(82.7%, 65.3%, 0%, 61.6%)
CIE-LABlab(16.23, 19.22, -39.81)
CIE-LCHlch(16.23, 44.21, 295.77°)
OKLaboklab(28.52% -0.0059 -0.1151)
OKLCHoklch(28.52% 0.115 267.1)
XYZxyz(3.0070, 2.1447, 11.8084)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112262 #625111
analogous
#114B62 #112262 #281162
triadic
#112262 #621122 #226211
tetradic
#112262 #62114B #625111 #116228
square
#112262 #62114B #625111 #116228
split-complementary
#112262 #622811 #4B6211
monochromatic
#05091A #08102E #112262 #1A3496 #2346CA

Accessibility & contrast

On white

14.70
#112262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#112262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112262
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112262#FFFFFF#000000##FFFFFF
##1122621.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #112262;
/* rgb */ color: rgb(17, 34, 98);
/* oklch */ color: oklch(28.5% 0.115 267.1);
Tailwind
colors: {
  custom: {
    50: '#5e5c8f',
    500: '#112262',
    950: '#000000',
  },
}
SCSS
$custom: #112262;
$custom-light: #5e5c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#112262",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 227.407,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28518,
    "c": 0.11524,
    "h": 267.1
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#112262
secondary
#9A8534
accent
#C83BED
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #112262

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

Preview Lab → · Contrast checker → · Palette generator →

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