#2D2EB5#2D2EB5

#2D2EB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.204 H 272.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2D2EB5
RGBrgb(45, 46, 181)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(75.1%, 74.6%, 0%, 29%)
CIE-LABlab(29.02, 45.06, -70.56)
CIE-LCHlch(29.02, 83.72, 302.56°)
OKLaboklab(40.73% 0.0084 -0.2042)
OKLCHoklch(40.73% 0.204 272.4)
XYZxyz(10.3969, 5.8470, 44.2877)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EB5 #B5B42D
analogous
#2D72B5 #2D2EB5 #702DB5
triadic
#2D2EB5 #B52D2E #2EB52D
tetradic
#2D2EB5 #B52D72 #B5B42D #2DB570
square
#2D2EB5 #B52D72 #B5B42D #2DB570
split-complementary
#2D2EB5 #B5702D #72B52D
monochromatic
#151553 #212284 #2D2EB5 #4D4ED3 #7E7EDF

Accessibility & contrast

On white

9.68
#2D2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EB5
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EB5#FFFFFF#000000##FFFFFF
##2D2EB51.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2eb5;
/* rgb */ color: rgb(45, 46, 181);
/* oklch */ color: oklch(40.7% 0.204 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2d2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eb5;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eb5",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 239.559,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.20438,
    "h": 272.4
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#2D2EB5
secondary
#C7C776
accent
#E244E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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