#2D2EA4#2D2EA4

#2D2EA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.183 H 273.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2D2EA4
RGBrgb(45, 46, 164)
HSLhsl(239, 57%, 41%)
HSVhsv(239, 73%, 64%)
CMYKcmyk(72.6%, 72%, 0%, 35.7%)
CIE-LABlab(27.27, 39.31, -63.24)
CIE-LCHlch(27.27, 74.47, 301.86°)
OKLaboklab(38.96% 0.0113 -0.1829)
OKLCHoklch(38.96% 0.183 273.5)
XYZxyz(8.7578, 5.1913, 35.6552)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EA4 #A4A32D
analogous
#2D69A4 #2D2EA4 #672DA4
triadic
#2D2EA4 #A42D2E #2EA42D
tetradic
#2D2EA4 #A42D69 #A4A32D #2DA467
square
#2D2EA4 #A42D69 #A4A32D #2DA467
split-complementary
#2D2EA4 #A4672D #69A42D
monochromatic
#131344 #202174 #2D2EA4 #4344CB #7374D9

Accessibility & contrast

On white

10.30
#2D2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EA4
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EA4#FFFFFF#000000##FFFFFF
##2D2EA41.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d2ea4;
/* rgb */ color: rgb(45, 46, 164);
/* oklch */ color: oklch(39.0% 0.183 273.5);
Tailwind
colors: {
  custom: {
    50: '#7868c0',
    500: '#2d2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ea4;
$custom-light: #7868c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ea4",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 239.496,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38957,
    "c": 0.18326,
    "h": 273.5
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#2D2EA4
secondary
#C0BF6D
accent
#DF48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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