#2D2A60#2D2A60

#2D2A60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.093 H 282.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2D2A60
RGBrgb(45, 42, 96)
HSLhsl(243, 39%, 27%)
HSVhsv(243, 56%, 38%)
CMYKcmyk(53.1%, 56.3%, 0%, 62.4%)
CIE-LABlab(20.28, 17.86, -31.84)
CIE-LCHlch(20.28, 36.51, 299.29°)
OKLaboklab(31.99% 0.0198 -0.0908)
OKLCHoklch(31.99% 0.093 282.3)
XYZxyz(4.0208, 3.0581, 11.4425)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A60 #5D602A
analogous
#2A4260 #2D2A60 #482A60
triadic
#2D2A60 #602D2A #2A602D
tetradic
#2D2A60 #602A42 #5D602A #2A6048
square
#2D2A60 #602A42 #5D602A #2A6048
split-complementary
#2D2A60 #60482A #42602A
monochromatic
#0A0915 #191735 #2D2A60 #413D8B #5751B3

Accessibility & contrast

On white

13.03
#2D2A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D2A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A60
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A60#FFFFFF#000000##FFFFFF
##2D2A601.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#0A2F5F
Tritanopia (blue-blind)
#1A3640
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d2a60;
/* rgb */ color: rgb(45, 42, 96);
/* oklch */ color: oklch(32.0% 0.093 282.3);
Tailwind
colors: {
  custom: {
    50: '#6a638d',
    500: '#2d2a60',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a60;
$custom-light: #6a638d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a60",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 243.333,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.09293,
    "h": 282.3
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#2D2A60
secondary
#8F9253
accent
#CF59C8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D2A60

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

Preview Lab → · Contrast checker → · Palette generator →

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