#2D2C9F#2D2C9F

#2D2C9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.179 H 274.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2D2C9F
RGBrgb(45, 44, 159)
HSLhsl(241, 57%, 40%)
HSVhsv(241, 72%, 62%)
CMYKcmyk(71.7%, 72.3%, 0%, 37.6%)
CIE-LABlab(26.34, 38.79, -61.75)
CIE-LCHlch(26.34, 72.93, 302.14°)
OKLaboklab(38.14% 0.0132 -0.1785)
OKLCHoklch(38.14% 0.179 274.2)
XYZxyz(8.2388, 4.8617, 33.2984)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C9F #9E9F2C
analogous
#2C649F #2D2C9F #672C9F
triadic
#2D2C9F #9F2D2C #2C9F2D
tetradic
#2D2C9F #9F2C64 #9E9F2C #2C9F67
square
#2D2C9F #9F2C64 #9E9F2C #2C9F67
split-complementary
#2D2C9F #9F672C #649F2C
monochromatic
#12113F #1F1F6F #2D2C9F #403ECA #6F6ED7

Accessibility & contrast

On white

10.65
#2D2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C9F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C9F#FFFFFF#000000##FFFFFF
##2D2C9F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d2c9f;
/* rgb */ color: rgb(45, 44, 159);
/* oklch */ color: oklch(38.1% 0.179 274.2);
Tailwind
colors: {
  custom: {
    50: '#7766bc',
    500: '#2d2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c9f;
$custom-light: #7766bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c9f",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 240.522,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.17904,
    "h": 274.2
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#2D2C9F
secondary
#BDBE69
accent
#E048DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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