#2D2368#2D2368

#2D2368 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.116 H 284.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#2D2368
RGBrgb(45, 35, 104)
HSLhsl(249, 50%, 27%)
HSVhsv(249, 66%, 41%)
CMYKcmyk(56.7%, 66.3%, 0%, 59.2%)
CIE-LABlab(19.05, 25.42, -39.06)
CIE-LCHlch(19.05, 46.60, 303.05°)
OKLaboklab(31.29% 0.0282 -0.1121)
OKLCHoklch(31.29% 0.116 284.1)
XYZxyz(4.1812, 2.7592, 13.4063)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2368 #5E6823
analogous
#233B68 #2D2368 #502368
triadic
#2D2368 #682D23 #23682D
tetradic
#2D2368 #68233B #5E6823 #236850
square
#2D2368 #68233B #5E6823 #236850
split-complementary
#2D2368 #685023 #3B6823
monochromatic
#0A0817 #19143A #2D2368 #413296 #5745C0

Accessibility & contrast

On white

13.53
#2D2368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D2368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2368
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2368#FFFFFF#000000##FFFFFF
##2D23681.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#143442
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2368;
/* rgb */ color: rgb(45, 35, 104);
/* oklch */ color: oklch(31.3% 0.116 284.1);
Tailwind
colors: {
  custom: {
    50: '#6c5e94',
    500: '#2d2368',
    950: '#000000',
  },
}
SCSS
$custom: #2d2368;
$custom-light: #6c5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2368",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 248.696,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31286,
    "c": 0.11557,
    "h": 284.1
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#2D2368
secondary
#909B4B
accent
#D94FC5
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2D2368

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

Preview Lab → · Contrast checker → · Palette generator →

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