#2C2D92#2C2D92

#2C2D92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.161 H 274.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2C2D92
RGBrgb(44, 45, 146)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 70%, 57%)
CMYKcmyk(69.9%, 69.2%, 0%, 42.7%)
CIE-LABlab(25.22, 33.53, -55.62)
CIE-LCHlch(25.22, 64.95, 301.08°)
OKLaboklab(36.93% 0.0132 -0.1607)
OKLCHoklch(36.93% 0.161 274.7)
XYZxyz(7.1637, 4.4869, 27.6771)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D92 #92912C
analogous
#2C6092 #2C2D92 #5E2C92
triadic
#2C2D92 #922C2D #2D922C
tetradic
#2C2D92 #922C60 #92912C #2C925E
square
#2C2D92 #922C60 #92912C #2C925E
split-complementary
#2C2D92 #925E2C #60922C
monochromatic
#101034 #1E1F63 #2C2D92 #3A3BC1 #6768D1

Accessibility & contrast

On white

11.07
#2C2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D92
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D92#FFFFFF#000000##FFFFFF
##2C2D921.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c2d92;
/* rgb */ color: rgb(44, 45, 146);
/* oklch */ color: oklch(36.9% 0.161 274.7);
Tailwind
colors: {
  custom: {
    50: '#7466b3',
    500: '#2c2d92',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d92;
$custom-light: #7466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d92",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 239.412,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.16121,
    "h": 274.7
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#2C2D92
secondary
#B8B762
accent
#DC4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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