#2D2C73#2D2C73

#2D2C73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.119 H 278.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2D2C73
RGBrgb(45, 44, 115)
HSLhsl(241, 45%, 31%)
HSVhsv(241, 62%, 45%)
CMYKcmyk(60.9%, 61.7%, 0%, 54.9%)
CIE-LABlab(22.29, 23.25, -40.92)
CIE-LCHlch(22.29, 47.06, 299.61°)
OKLaboklab(33.95% 0.0178 -0.1175)
OKLCHoklch(33.95% 0.119 278.6)
XYZxyz(5.0764, 3.5967, 16.6431)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C73 #72732C
analogous
#2C4E73 #2D2C73 #502C73
triadic
#2D2C73 #732D2C #2C732D
tetradic
#2D2C73 #732C4E #72732C #2C7350
square
#2D2C73 #732C4E #72732C #2C7350
split-complementary
#2D2C73 #73502C #4E732C
monochromatic
#0A0A1A #1C1B47 #2D2C73 #3E3D9F #5B5AC0

Accessibility & contrast

On white

12.21
#2D2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C73
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C73#FFFFFF#000000##FFFFFF
##2D2C731.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#013D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2c73;
/* rgb */ color: rgb(45, 44, 115);
/* oklch */ color: oklch(34.0% 0.119 278.6);
Tailwind
colors: {
  custom: {
    50: '#6e659c',
    500: '#2d2c73',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c73;
$custom-light: #6e659c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c73",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 240.845,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33953,
    "c": 0.11884,
    "h": 278.6
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#2D2C73
secondary
#A3A556
accent
#D453D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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