#2D2A64#2D2A64

#2D2A64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.099 H 281.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2D2A64
RGBrgb(45, 42, 100)
HSLhsl(243, 41%, 28%)
HSVhsv(243, 58%, 39%)
CMYKcmyk(55%, 58%, 0%, 60.8%)
CIE-LABlab(20.57, 19.27, -33.99)
CIE-LCHlch(20.57, 39.07, 299.55°)
OKLaboklab(32.3% 0.02 -0.0971)
OKLCHoklch(32.3% 0.099 281.6)
XYZxyz(4.2097, 3.1337, 12.4372)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A64 #61642A
analogous
#2A4464 #2D2A64 #4A2A64
triadic
#2D2A64 #642D2A #2A642D
tetradic
#2D2A64 #642A44 #61642A #2A644A
square
#2D2A64 #642A44 #61642A #2A644A
split-complementary
#2D2A64 #644A2A #44642A
monochromatic
#0A0916 #1A1839 #2D2A64 #403C8F #5752B6

Accessibility & contrast

On white

12.91
#2D2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A64
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A64#FFFFFF#000000##FFFFFF
##2D2A641.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073466
Deuteranopia (green-blind)
#022F63
Tritanopia (blue-blind)
#173742
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2a64;
/* rgb */ color: rgb(45, 42, 100);
/* oklch */ color: oklch(32.3% 0.099 281.6);
Tailwind
colors: {
  custom: {
    50: '#6b6391',
    500: '#2d2a64',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a64;
$custom-light: #6b6391;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a64",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 243.103,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.09916,
    "h": 281.6
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#2D2A64
secondary
#939653
accent
#D157CA
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2D2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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