#2D2E68#2D2E68

#2D2E68 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.099 H 278.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2D2E68
RGBrgb(45, 46, 104)
HSLhsl(239, 40%, 29%)
HSVhsv(239, 57%, 41%)
CMYKcmyk(56.7%, 55.8%, 0%, 59.2%)
CIE-LABlab(21.98, 17.92, -34.32)
CIE-LCHlch(21.98, 38.71, 297.57°)
OKLaboklab(33.45% 0.0153 -0.0981)
OKLCHoklch(33.45% 0.099 278.8)
XYZxyz(4.5571, 3.5111, 13.5316)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E68 #68672D
analogous
#2D4C68 #2D2E68 #4A2D68
triadic
#2D2E68 #682D2E #2E682D
tetradic
#2D2E68 #682D4C #68672D #2D684A
square
#2D2E68 #682D4C #68672D #2D684A
split-complementary
#2D2E68 #684A2D #4C682D
monochromatic
#090915 #1B1B3D #2D2E68 #3F4193 #585AB7

Accessibility & contrast

On white

12.34
#2D2E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D2E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E68
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E68#FFFFFF#000000##FFFFFF
##2D2E681.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E376A
Deuteranopia (green-blind)
#053267
Tritanopia (blue-blind)
#123B46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2e68;
/* rgb */ color: rgb(45, 46, 104);
/* oklch */ color: oklch(33.5% 0.099 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b6693',
    500: '#2d2e68',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e68;
$custom-light: #6b6693;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e68",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 238.983,
    "s": 39.597,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33454,
    "c": 0.09924,
    "h": 278.8
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#2D2E68
secondary
#9A9957
accent
#CD58CF
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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