#2D2EA9#2D2EA9

#2D2EA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.190 H 273.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2D2EA9
RGBrgb(45, 46, 169)
HSLhsl(240, 58%, 42%)
HSVhsv(240, 73%, 66%)
CMYKcmyk(73.4%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.78, 41.02, -65.43)
CIE-LCHlch(27.78, 77.23, 302.09°)
OKLaboklab(39.47% 0.0104 -0.1893)
OKLCHoklch(39.47% 0.19 273.2)
XYZxyz(9.2182, 5.3755, 38.0802)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EA9 #A9A82D
analogous
#2D6CA9 #2D2EA9 #6A2DA9
triadic
#2D2EA9 #A92D2E #2EA92D
tetradic
#2D2EA9 #A92D6C #A9A82D #2DA96A
square
#2D2EA9 #A92D6C #A9A82D #2DA96A
split-complementary
#2D2EA9 #A96A2D #6CA92D
monochromatic
#131448 #202179 #2D2EA9 #4647CE #7677DA

Accessibility & contrast

On white

10.12
#2D2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EA9
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EA9#FFFFFF#000000##FFFFFF
##2D2EA91.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2ea9;
/* rgb */ color: rgb(45, 46, 169);
/* oklch */ color: oklch(39.5% 0.190 273.2);
Tailwind
colors: {
  custom: {
    50: '#7968c4',
    500: '#2d2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ea9;
$custom-light: #7968c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ea9",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 239.516,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3947,
    "c": 0.18957,
    "h": 273.2
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#2D2EA9
secondary
#C2C26F
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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