#2D2463#2D2463

#2D2463 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.0% C 0.107 H 284.8°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#2D2463
RGBrgb(45, 36, 99)
HSLhsl(249, 47%, 26%)
HSVhsv(249, 64%, 39%)
CMYKcmyk(54.5%, 63.6%, 0%, 61.2%)
CIE-LABlab(18.89, 23.03, -36.05)
CIE-LCHlch(18.89, 42.78, 302.57°)
OKLaboklab(31.03% 0.0273 -0.1032)
OKLCHoklch(31.03% 0.107 284.8)
XYZxyz(3.9645, 2.7203, 12.1181)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2463 #5A6324
analogous
#243B63 #2D2463 #4D2463
triadic
#2D2463 #632D24 #24632D
tetradic
#2D2463 #63243B #5A6324 #24634D
square
#2D2463 #63243B #5A6324 #24634D
split-complementary
#2D2463 #634D24 #3B6324
monochromatic
#0A0816 #191436 #2D2463 #413490 #5746BC

Accessibility & contrast

On white

13.60
#2D2463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2463
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2463#FFFFFF#000000##FFFFFF
##2D24631.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#18333F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2463;
/* rgb */ color: rgb(45, 36, 99);
/* oklch */ color: oklch(31.0% 0.107 284.8);
Tailwind
colors: {
  custom: {
    50: '#6b5f90',
    500: '#2d2463',
    950: '#000000',
  },
}
SCSS
$custom: #2d2463;
$custom-light: #6b5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2463",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 248.571,
    "s": 46.667,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31033,
    "c": 0.10679,
    "h": 284.8
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#2D2463
secondary
#8C964C
accent
#D651C3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2D2463

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

Preview Lab → · Contrast checker → · Palette generator →

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