#2D2C8F#2D2C8F

#2D2C8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.158 H 275.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2D2C8F
RGBrgb(45, 44, 143)
HSLhsl(241, 53%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(68.5%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.77, 33.24, -54.50)
CIE-LCHlch(24.77, 63.84, 301.38°)
OKLaboklab(36.53% 0.0156 -0.1574)
OKLCHoklch(36.53% 0.158 275.6)
XYZxyz(6.9392, 4.3418, 26.4536)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C8F #8E8F2C
analogous
#2C5D8F #2D2C8F #5F2C8F
triadic
#2D2C8F #8F2D2C #2C8F2D
tetradic
#2D2C8F #8F2C5D #8E8F2C #2C8F5F
square
#2D2C8F #8F2C5D #8E8F2C #2C8F5F
split-complementary
#2D2C8F #8F5F2C #5D8F2C
monochromatic
#100F31 #1E1E60 #2D2C8F #3C3ABE #6766D0

Accessibility & contrast

On white

11.24
#2D2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C8F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C8F#FFFFFF#000000##FFFFFF
##2D2C8F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2c8f;
/* rgb */ color: rgb(45, 44, 143);
/* oklch */ color: oklch(36.5% 0.158 275.6);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2d2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c8f;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c8f",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 240.606,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36533,
    "c": 0.15813,
    "h": 275.6
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#2D2C8F
secondary
#B5B661
accent
#DC4BDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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