#2D2363#2D2363

#2D2363 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.108 H 285.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#2D2363
RGBrgb(45, 35, 99)
HSLhsl(249, 48%, 26%)
HSVhsv(249, 65%, 39%)
CMYKcmyk(54.5%, 64.6%, 0%, 61.2%)
CIE-LABlab(18.63, 23.70, -36.47)
CIE-LCHlch(18.63, 43.49, 303.02°)
OKLaboklab(30.84% 0.0285 -0.1045)
OKLCHoklch(30.84% 0.108 285.3)
XYZxyz(3.9347, 2.6606, 12.1082)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2363 #596323
analogous
#233963 #2D2363 #4D2363
triadic
#2D2363 #632D23 #23632D
tetradic
#2D2363 #632339 #596323 #23634D
square
#2D2363 #632339 #596323 #23634D
split-complementary
#2D2363 #634D23 #396323
monochromatic
#0A0817 #181336 #2D2363 #423390 #5744BD

Accessibility & contrast

On white

13.71
#2D2363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2363
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2363#FFFFFF#000000##FFFFFF
##2D23631.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#18323F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2363;
/* rgb */ color: rgb(45, 35, 99);
/* oklch */ color: oklch(30.8% 0.108 285.3);
Tailwind
colors: {
  custom: {
    50: '#6b5e90',
    500: '#2d2363',
    950: '#000000',
  },
}
SCSS
$custom: #2d2363;
$custom-light: #6b5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2363",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 99
  },
  "hsl": {
    "h": 249.375,
    "s": 47.761,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30844,
    "c": 0.10829,
    "h": 285.3
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#2D2363
secondary
#8B974B
accent
#D750C2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2D2363

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

Preview Lab → · Contrast checker → · Palette generator →

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