#2D2D63#2D2D63

#2D2D63 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.093 H 280.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2D2D63
RGBrgb(45, 45, 99)
HSLhsl(240, 38%, 28%)
HSVhsv(240, 55%, 39%)
CMYKcmyk(54.5%, 54.5%, 0%, 61.2%)
CIE-LABlab(21.34, 16.83, -32.09)
CIE-LCHlch(21.34, 36.24, 297.67°)
OKLaboklab(32.86% 0.0161 -0.0915)
OKLCHoklch(32.86% 0.093 280)
XYZxyz(4.2720, 3.3353, 12.2206)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D63 #63632D
analogous
#2D4863 #2D2D63 #482D63
triadic
#2D2D63 #632D2D #2D632D
tetradic
#2D2D63 #632D48 #63632D #2D6348
square
#2D2D63 #632D48 #63632D #2D6348
split-complementary
#2D2D63 #63482D #48632D
monochromatic
#0A0A15 #1A1A39 #2D2D63 #40408D #5858B3

Accessibility & contrast

On white

12.60
#2D2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D63
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D63#FFFFFF#000000##FFFFFF
##2D2D631.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123565
Deuteranopia (green-blind)
#0C3162
Tritanopia (blue-blind)
#173943
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2d63;
/* rgb */ color: rgb(45, 45, 99);
/* oklch */ color: oklch(32.9% 0.093 280.0);
Tailwind
colors: {
  custom: {
    50: '#6b6590',
    500: '#2d2d63',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d63;
$custom-light: #6b6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d63",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 240,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.09295,
    "h": 280
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#2D2D63
secondary
#959557
accent
#CD5ACD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2D2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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