#112770#112770

#112770 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.129 H 265.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#112770
RGBrgb(17, 39, 112)
HSLhsl(226, 74%, 25%)
HSVhsv(226, 85%, 44%)
CMYKcmyk(84.8%, 65.2%, 0%, 56.1%)
CIE-LABlab(18.97, 21.44, -44.47)
CIE-LCHlch(18.97, 49.37, 295.73°)
OKLaboklab(30.96% -0.0092 -0.1287)
OKLCHoklch(30.96% 0.129 265.9)
XYZxyz(3.8803, 2.7396, 15.6504)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112770 #705A11
analogous
#115670 #112770 #2A1170
triadic
#112770 #701127 #277011
tetradic
#112770 #701156 #705A11 #11702A
square
#112770 #701156 #705A11 #11702A
split-complementary
#112770 #702A11 #567011
monochromatic
#04091B #09143B #112770 #193AA5 #214CDA

Accessibility & contrast

On white

13.57
#112770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#112770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112770
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112770#FFFFFF#000000##FFFFFF
##1127701.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #112770;
/* rgb */ color: rgb(17, 39, 112);
/* oklch */ color: oklch(31.0% 0.129 265.9);
Tailwind
colors: {
  custom: {
    50: '#62609a',
    500: '#112770',
    950: '#000000',
  },
}
SCSS
$custom: #112770;
$custom-light: #62609a;
$custom-dark: #000000;
JSON
{
  "hex": "#112770",
  "rgb": {
    "r": 17,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 226.105,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30961,
    "c": 0.12903,
    "h": 265.9
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#112770
secondary
#A78D35
accent
#C637F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #112770

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

Preview Lab → · Contrast checker → · Palette generator →

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