#2D2364#2D2364

#2D2364 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.110 H 285.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#2D2364
RGBrgb(45, 35, 100)
HSLhsl(249, 48%, 26%)
HSVhsv(249, 65%, 39%)
CMYKcmyk(55%, 65%, 0%, 60.8%)
CIE-LABlab(18.71, 24.04, -36.99)
CIE-LCHlch(18.71, 44.12, 303.02°)
OKLaboklab(30.93% 0.0285 -0.106)
OKLCHoklch(30.93% 0.11 285)
XYZxyz(3.9828, 2.6798, 12.3615)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2364 #5A6423
analogous
#233A64 #2D2364 #4E2364
triadic
#2D2364 #642D23 #23642D
tetradic
#2D2364 #64233A #5A6423 #23644E
square
#2D2364 #64233A #5A6423 #23644E
split-complementary
#2D2364 #644E23 #3A6423
monochromatic
#0A0817 #191337 #2D2364 #413391 #5744BE

Accessibility & contrast

On white

13.67
#2D2364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2D2364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2364
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2364#FFFFFF#000000##FFFFFF
##2D23641.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#18323F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2364;
/* rgb */ color: rgb(45, 35, 100);
/* oklch */ color: oklch(30.9% 0.110 285.0);
Tailwind
colors: {
  custom: {
    50: '#6c5e91',
    500: '#2d2364',
    950: '#000000',
  },
}
SCSS
$custom: #2d2364;
$custom-light: #6c5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2364",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 100
  },
  "hsl": {
    "h": 249.231,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30931,
    "c": 0.10976,
    "h": 285
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#2D2364
secondary
#8C984B
accent
#D850C3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #2D2364

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

Preview Lab → · Contrast checker → · Palette generator →

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