#2D2C8E#2D2C8E

#2D2C8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.157 H 275.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2D2C8E
RGBrgb(45, 44, 142)
HSLhsl(241, 53%, 36%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(68.3%, 69%, 0%, 44.3%)
CIE-LABlab(24.68, 32.89, -54.04)
CIE-LCHlch(24.68, 63.26, 301.32°)
OKLaboklab(36.44% 0.0157 -0.156)
OKLCHoklch(36.44% 0.157 275.7)
XYZxyz(6.8638, 4.3116, 26.0565)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C8E #8D8E2C
analogous
#2C5C8E #2D2C8E #5E2C8E
triadic
#2D2C8E #8E2D2C #2C8E2D
tetradic
#2D2C8E #8E2C5C #8D8E2C #2C8E5E
square
#2D2C8E #8E2C5C #8D8E2C #2C8E5E
split-complementary
#2D2C8E #8E5E2C #5C8E2C
monochromatic
#0F0F31 #1E1E5F #2D2C8E #3C3ABD #6665CF

Accessibility & contrast

On white

11.28
#2D2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C8E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C8E#FFFFFF#000000##FFFFFF
##2D2C8E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2c8e;
/* rgb */ color: rgb(45, 44, 142);
/* oklch */ color: oklch(36.4% 0.157 275.7);
Tailwind
colors: {
  custom: {
    50: '#7366b0',
    500: '#2d2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c8e;
$custom-light: #7366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c8e",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 240.612,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36436,
    "c": 0.15679,
    "h": 275.7
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#2D2C8E
secondary
#B5B660
accent
#DC4CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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