#2D2EA0#2D2EA0

#2D2EA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.178 H 273.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2D2EA0
RGBrgb(45, 46, 160)
HSLhsl(239, 56%, 40%)
HSVhsv(239, 72%, 63%)
CMYKcmyk(71.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.87, 37.93, -61.48)
CIE-LCHlch(26.87, 72.24, 301.68°)
OKLaboklab(38.55% 0.0119 -0.1777)
OKLCHoklch(38.55% 0.178 273.8)
XYZxyz(8.4022, 5.0491, 33.7827)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EA0 #A09F2D
analogous
#2D68A0 #2D2EA0 #652DA0
triadic
#2D2EA0 #A02D2E #2EA02D
tetradic
#2D2EA0 #A02D68 #A09F2D #2DA065
square
#2D2EA0 #A02D68 #A09F2D #2DA065
split-complementary
#2D2EA0 #A0652D #68A02D
monochromatic
#121340 #202070 #2D2EA0 #4142C9 #7071D7

Accessibility & contrast

On white

10.45
#2D2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EA0
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EA0#FFFFFF#000000##FFFFFF
##2D2EA01.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d2ea0;
/* rgb */ color: rgb(45, 46, 160);
/* oklch */ color: oklch(38.6% 0.178 273.8);
Tailwind
colors: {
  custom: {
    50: '#7768bd',
    500: '#2d2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ea0;
$custom-light: #7768bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ea0",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 239.478,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3855,
    "c": 0.17814,
    "h": 273.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#2D2EA0
secondary
#BEBE6B
accent
#DE48DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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