#183170#183170

#183170 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.114 H 264.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#183170
RGBrgb(24, 49, 112)
HSLhsl(223, 65%, 27%)
HSVhsv(223, 79%, 44%)
CMYKcmyk(78.6%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.16, 15.03, -39.26)
CIE-LCHlch(22.16, 42.04, 290.94°)
OKLaboklab(33.43% -0.0106 -0.1131)
OKLCHoklch(33.43% 0.114 264.6)
XYZxyz(4.3986, 3.5602, 15.7815)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183170 #705718
analogous
#185D70 #183170 #2B1870
triadic
#183170 #701831 #317018
tetradic
#183170 #70185D #705718 #18702B
square
#183170 #70185D #705718 #18702B
split-complementary
#183170 #702B18 #5D7018
monochromatic
#050B19 #0D1B3E #183170 #2347A2 #305ED3

Accessibility & contrast

On white

12.26
#183170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#183170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183170
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183170#FFFFFF#000000##FFFFFF
##1831701.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023972
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #183170;
/* rgb */ color: rgb(24, 49, 112);
/* oklch */ color: oklch(33.4% 0.114 264.6);
Tailwind
colors: {
  custom: {
    50: '#63689a',
    500: '#183170',
    950: '#000000',
  },
}
SCSS
$custom: #183170;
$custom-light: #63689a;
$custom-dark: #000000;
JSON
{
  "hex": "#183170",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 222.955,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33434,
    "c": 0.1136,
    "h": 264.6
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#183170
secondary
#A5883E
accent
#B840E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183170

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

Preview Lab → · Contrast checker → · Palette generator →

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