#2D2D61#2D2D61

#2D2D61 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.090 H 280.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2D2D61
RGBrgb(45, 45, 97)
HSLhsl(240, 37%, 28%)
HSVhsv(240, 54%, 38%)
CMYKcmyk(53.6%, 53.6%, 0%, 62%)
CIE-LABlab(21.20, 16.12, -31.01)
CIE-LCHlch(21.20, 34.95, 297.46°)
OKLaboklab(32.7% 0.0159 -0.0883)
OKLCHoklch(32.7% 0.09 280.2)
XYZxyz(4.1776, 3.2975, 11.7233)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D61 #61612D
analogous
#2D4761 #2D2D61 #472D61
triadic
#2D2D61 #612D2D #2D612D
tetradic
#2D2D61 #612D47 #61612D #2D6147
square
#2D2D61 #612D47 #61612D #2D6147
split-complementary
#2D2D61 #61472D #47612D
monochromatic
#0A0A15 #1A1A37 #2D2D61 #40408B #5757B1

Accessibility & contrast

On white

12.65
#2D2D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D2D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D61
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D61#FFFFFF#000000##FFFFFF
##2D2D611.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143563
Deuteranopia (green-blind)
#0F3160
Tritanopia (blue-blind)
#193842
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2d61;
/* rgb */ color: rgb(45, 45, 97);
/* oklch */ color: oklch(32.7% 0.090 280.2);
Tailwind
colors: {
  custom: {
    50: '#6a658e',
    500: '#2d2d61',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d61;
$custom-light: #6a658e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d61",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 240,
    "s": 36.62,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32703,
    "c": 0.08977,
    "h": 280.2
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#2D2D61
secondary
#939357
accent
#CD5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2D2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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