#112962#112962

#112962 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.106 H 263.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#112962
RGBrgb(17, 41, 98)
HSLhsl(222, 70%, 23%)
HSVhsv(222, 83%, 38%)
CMYKcmyk(82.7%, 58.2%, 0%, 61.6%)
CIE-LABlab(18.31, 14.05, -36.43)
CIE-LCHlch(18.31, 39.04, 291.09°)
OKLaboklab(30.07% -0.0112 -0.105)
OKLCHoklch(30.07% 0.106 263.9)
XYZxyz(3.2279, 2.5865, 11.8820)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112962 #624A11
analogous
#115262 #112962 #211162
triadic
#112962 #621129 #296211
tetradic
#112962 #621152 #624A11 #116221
square
#112962 #621152 #624A11 #116221
split-complementary
#112962 #622111 #526211
monochromatic
#050B1A #08132E #112962 #1A3F96 #2355CA

Accessibility & contrast

On white

13.84
#112962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#112962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112962
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112962#FFFFFF#000000##FFFFFF
##1129621.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #112962;
/* rgb */ color: rgb(17, 41, 98);
/* oklch */ color: oklch(30.1% 0.106 263.9);
Tailwind
colors: {
  custom: {
    50: '#5e628f',
    500: '#112962',
    950: '#000000',
  },
}
SCSS
$custom: #112962;
$custom-light: #5e628f;
$custom-dark: #000000;
JSON
{
  "hex": "#112962",
  "rgb": {
    "r": 17,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 222.222,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30074,
    "c": 0.10564,
    "h": 263.9
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#112962
secondary
#9A7C34
accent
#B83BED
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #112962

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

Preview Lab → · Contrast checker → · Palette generator →

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