#2C2D91#2C2D91

#2C2D91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.160 H 274.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2C2D91
RGBrgb(44, 45, 145)
HSLhsl(239, 53%, 37%)
HSVhsv(239, 70%, 57%)
CMYKcmyk(69.7%, 69%, 0%, 43.1%)
CIE-LABlab(25.12, 33.18, -55.16)
CIE-LCHlch(25.12, 64.37, 301.03°)
OKLaboklab(36.83% 0.0133 -0.1593)
OKLCHoklch(36.83% 0.16 274.8)
XYZxyz(7.0862, 4.4559, 27.2692)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D91 #91902C
analogous
#2C6091 #2C2D91 #5E2C91
triadic
#2C2D91 #912C2D #2D912C
tetradic
#2C2D91 #912C60 #91902C #2C915E
square
#2C2D91 #912C60 #91902C #2C915E
split-complementary
#2C2D91 #915E2C #60912C
monochromatic
#101033 #1E1E62 #2C2D91 #3A3CC0 #6768D1

Accessibility & contrast

On white

11.10
#2C2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D91
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D91#FFFFFF#000000##FFFFFF
##2C2D911.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c2d91;
/* rgb */ color: rgb(44, 45, 145);
/* oklch */ color: oklch(36.8% 0.160 274.8);
Tailwind
colors: {
  custom: {
    50: '#7466b2',
    500: '#2c2d91',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d91;
$custom-light: #7466b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d91",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 239.406,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.15988,
    "h": 274.8
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#2C2D91
secondary
#B7B662
accent
#DB4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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