#2D2EAE#2D2EAE

#2D2EAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.196 H 272.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2D2EAE
RGBrgb(45, 46, 174)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 74%, 68%)
CMYKcmyk(74.1%, 73.6%, 0%, 31.8%)
CIE-LABlab(28.29, 42.72, -67.59)
CIE-LCHlch(28.29, 79.95, 302.29°)
OKLaboklab(39.99% 0.0096 -0.1956)
OKLCHoklch(39.99% 0.196 272.8)
XYZxyz(9.6966, 5.5669, 40.5997)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EAE #AEAD2D
analogous
#2D6EAE #2D2EAE #6C2DAE
triadic
#2D2EAE #AE2D2E #2EAE2D
tetradic
#2D2EAE #AE2D6E #AEAD2D #2DAE6C
square
#2D2EAE #AE2D6E #AEAD2D #2DAE6C
split-complementary
#2D2EAE #AE6C2D #6EAE2D
monochromatic
#14144D #20217D #2D2EAE #4849D0 #797ADC

Accessibility & contrast

On white

9.94
#2D2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EAE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EAE#FFFFFF#000000##FFFFFF
##2D2EAE1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2eae;
/* rgb */ color: rgb(45, 46, 174);
/* oklch */ color: oklch(40.0% 0.196 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b68c7',
    500: '#2d2eae',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eae;
$custom-light: #7b68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eae",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 239.535,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.1958,
    "h": 272.8
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#2D2EAE
secondary
#C4C472
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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