#2D2265#2D2265

#2D2265 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.8% C 0.113 H 285.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2D2265
RGBrgb(45, 34, 101)
HSLhsl(250, 50%, 26%)
HSVhsv(250, 66%, 40%)
CMYKcmyk(55.4%, 66.3%, 0%, 60.4%)
CIE-LABlab(18.55, 25.05, -37.92)
CIE-LCHlch(18.55, 45.45, 303.45°)
OKLaboklab(30.84% 0.0295 -0.1087)
OKLCHoklch(30.84% 0.113 285.2)
XYZxyz(4.0025, 2.6413, 12.6083)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2265 #5A6522
analogous
#223965 #2D2265 #4F2265
triadic
#2D2265 #652D22 #22652D
tetradic
#2D2265 #652239 #5A6522 #22654F
square
#2D2265 #652239 #5A6522 #22654F
split-complementary
#2D2265 #654F22 #396522
monochromatic
#0A0817 #191337 #2D2265 #413193 #5742BF

Accessibility & contrast

On white

13.74
#2D2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2265
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2265#FFFFFF#000000##FFFFFF
##2D22651.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#173240
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2265;
/* rgb */ color: rgb(45, 34, 101);
/* oklch */ color: oklch(30.8% 0.113 285.2);
Tailwind
colors: {
  custom: {
    50: '#6c5d91',
    500: '#2d2265',
    950: '#000000',
  },
}
SCSS
$custom: #2d2265;
$custom-light: #6c5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2265",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 249.851,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30836,
    "c": 0.11268,
    "h": 285.2
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#2D2265
secondary
#8C994A
accent
#D94FC2
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2D2265

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

Preview Lab → · Contrast checker → · Palette generator →

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