#2C169D#2C169D

#2C169D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.1% C 0.196 H 276.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2C169D
RGBrgb(44, 22, 157)
HSLhsl(250, 75%, 35%)
HSVhsv(250, 86%, 62%)
CMYKcmyk(72%, 86%, 0%, 38.4%)
CIE-LABlab(22.10, 49.37, -67.54)
CIE-LCHlch(22.10, 83.66, 306.17°)
OKLaboklab(35.08% 0.0224 -0.1951)
OKLCHoklch(35.08% 0.196 276.6)
XYZxyz(7.4094, 3.5429, 32.1851)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C169D #879D16
analogous
#16439D #2C169D #70169D
triadic
#2C169D #9D2C16 #169D2C
tetradic
#2C169D #9D1643 #879D16 #169D70
square
#2C169D #9D1643 #879D16 #169D70
split-complementary
#2C169D #9D7016 #439D16
monochromatic
#0E0732 #1D0E67 #2C169D #3B1ED3 #6248E5

Accessibility & contrast

On white

12.29
#2C169D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2C169D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C169D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C169D#FFFFFF#000000##FFFFFF
##2C169D1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c169d;
/* rgb */ color: rgb(44, 22, 157);
/* oklch */ color: oklch(35.1% 0.196 276.6);
Tailwind
colors: {
  custom: {
    50: '#785abb',
    500: '#2c169d',
    950: '#000000',
  },
}
SCSS
$custom: #2c169d;
$custom-light: #785abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c169d",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 249.778,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35081,
    "c": 0.19642,
    "h": 276.6
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#2C169D
secondary
#B2C748
accent
#F236D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C169D

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

Preview Lab → · Contrast checker → · Palette generator →

#2C169D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva