#2C2D8D#2C2D8D

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

Color values

HEX#2C2D8D
RGBrgb(44, 45, 141)
HSLhsl(239, 52%, 36%)
HSVhsv(239, 69%, 55%)
CMYKcmyk(68.8%, 68.1%, 0%, 44.7%)
CIE-LABlab(24.75, 31.76, -53.30)
CIE-LCHlch(24.75, 62.05, 300.79°)
OKLaboklab(36.44% 0.0138 -0.1539)
OKLCHoklch(36.44% 0.154 275.1)
XYZxyz(6.7832, 4.3347, 25.6734)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D8D #8D8C2C
analogous
#2C5E8D #2C2D8D #5C2C8D
triadic
#2C2D8D #8D2C2D #2D8D2C
tetradic
#2C2D8D #8D2C5E #8D8C2C #2C8D5C
square
#2C2D8D #8D2C5E #8D8C2C #2C8D5C
split-complementary
#2C2D8D #8D5C2C #5E8D2C
monochromatic
#0F0F30 #1D1E5E #2C2D8D #3B3CBC #6566CF

Accessibility & contrast

On white

11.25
#2C2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D8D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D8D#FFFFFF#000000##FFFFFF
##2C2D8D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2d8d;
/* rgb */ color: rgb(44, 45, 141);
/* oklch */ color: oklch(36.4% 0.154 275.1);
Tailwind
colors: {
  custom: {
    50: '#7366af',
    500: '#2c2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d8d;
$custom-light: #7366af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d8d",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 239.381,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36441,
    "c": 0.15449,
    "h": 275.1
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#2C2D8D
secondary
#B5B460
accent
#DA4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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