#2D2A62#2D2A62

#2D2A62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.096 H 282.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#2D2A62
RGBrgb(45, 42, 98)
HSLhsl(243, 40%, 27%)
HSVhsv(243, 57%, 38%)
CMYKcmyk(54.1%, 57.1%, 0%, 61.6%)
CIE-LABlab(20.42, 18.56, -32.92)
CIE-LCHlch(20.42, 37.79, 299.42°)
OKLaboklab(32.15% 0.0199 -0.094)
OKLCHoklch(32.15% 0.096 282)
XYZxyz(4.1141, 3.0954, 11.9336)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A62 #5F622A
analogous
#2A4362 #2D2A62 #492A62
triadic
#2D2A62 #622D2A #2A622D
tetradic
#2D2A62 #622A43 #5F622A #2A6249
square
#2D2A62 #622A43 #5F622A #2A6249
split-complementary
#2D2A62 #62492A #43622A
monochromatic
#0A0915 #191837 #2D2A62 #413C8D #5752B5

Accessibility & contrast

On white

12.97
#2D2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D2A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A62
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A62#FFFFFF#000000##FFFFFF
##2D2A621.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3364
Deuteranopia (green-blind)
#062F61
Tritanopia (blue-blind)
#183641
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d2a62;
/* rgb */ color: rgb(45, 42, 98);
/* oklch */ color: oklch(32.1% 0.096 282.0);
Tailwind
colors: {
  custom: {
    50: '#6b638f',
    500: '#2d2a62',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a62;
$custom-light: #6b638f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a62",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 243.214,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32145,
    "c": 0.09605,
    "h": 282
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#2D2A62
secondary
#919453
accent
#D058C9
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2D2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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