#112258#112258

#112258 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.100 H 266.5°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#112258
RGBrgb(17, 34, 88)
HSLhsl(226, 68%, 21%)
HSVhsv(226, 81%, 35%)
CMYKcmyk(80.7%, 61.4%, 0%, 65.5%)
CIE-LABlab(15.32, 14.97, -34.64)
CIE-LCHlch(15.32, 37.73, 293.38°)
OKLaboklab(27.55% -0.0062 -0.0999)
OKLCHoklch(27.55% 0.1 266.5)
XYZxyz(2.5640, 1.9675, 9.4753)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112258 #584711
analogous
#114558 #112258 #231158
triadic
#112258 #581122 #225811
tetradic
#112258 #581145 #584711 #115823
square
#112258 #581145 #584711 #115823
split-complementary
#112258 #582311 #455811
monochromatic
#050A1A #070E25 #112258 #1B368B #254ABF

Accessibility & contrast

On white

15.07
#112258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112258
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112258#FFFFFF#000000##FFFFFF
##1122581.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112258;
/* rgb */ color: rgb(17, 34, 88);
/* oklch */ color: oklch(27.6% 0.100 266.5);
Tailwind
colors: {
  custom: {
    50: '#5b5c88',
    500: '#112258',
    950: '#000000',
  },
}
SCSS
$custom: #112258;
$custom-light: #5b5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#112258",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 225.634,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27552,
    "c": 0.1001,
    "h": 266.5
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#112258
secondary
#917B34
accent
#C13DEA
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #112258

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

Preview Lab → · Contrast checker → · Palette generator →

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