#2D2965#2D2965

#2D2965 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.102 H 282.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2D2965
RGBrgb(45, 41, 101)
HSLhsl(244, 42%, 28%)
HSVhsv(244, 59%, 40%)
CMYKcmyk(55.4%, 59.4%, 0%, 60.4%)
CIE-LABlab(20.37, 20.31, -34.96)
CIE-LCHlch(20.37, 40.43, 300.16°)
OKLaboklab(32.18% 0.0213 -0.1)
OKLCHoklch(32.18% 0.102 282)
XYZxyz(4.2234, 3.0831, 12.6820)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2965 #616529
analogous
#294365 #2D2965 #4B2965
triadic
#2D2965 #652D29 #29652D
tetradic
#2D2965 #652943 #616529 #29654B
square
#2D2965 #652943 #616529 #29654B
split-complementary
#2D2965 #654B29 #436529
monochromatic
#0A0916 #1A1739 #2D2965 #403B91 #5750B8

Accessibility & contrast

On white

12.99
#2D2965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D2965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2965
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2965#FFFFFF#000000##FFFFFF
##2D29651.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023367
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#163742
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d2965;
/* rgb */ color: rgb(45, 41, 101);
/* oklch */ color: oklch(32.2% 0.102 282.0);
Tailwind
colors: {
  custom: {
    50: '#6b6291',
    500: '#2d2965',
    950: '#000000',
  },
}
SCSS
$custom: #2d2965;
$custom-light: #6b6291;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2965",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 244,
    "s": 42.254,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32181,
    "c": 0.10222,
    "h": 282
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#2D2965
secondary
#939752
accent
#D256CA
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2D2965

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

Preview Lab → · Contrast checker → · Palette generator →

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