#2D2EAC#2D2EAC

#2D2EAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.193 H 273.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D2EAC
RGBrgb(45, 46, 172)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 74%, 67%)
CMYKcmyk(73.8%, 73.3%, 0%, 32.5%)
CIE-LABlab(28.09, 42.04, -66.73)
CIE-LCHlch(28.09, 78.87, 302.21°)
OKLaboklab(39.78% 0.01 -0.1931)
OKLCHoklch(39.78% 0.193 273)
XYZxyz(9.5031, 5.4895, 39.5805)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EAC #ACAB2D
analogous
#2D6DAC #2D2EAC #6C2DAC
triadic
#2D2EAC #AC2D2E #2EAC2D
tetradic
#2D2EAC #AC2D6D #ACAB2D #2DAC6C
square
#2D2EAC #AC2D6D #ACAB2D #2DAC6C
split-complementary
#2D2EAC #AC6C2D #6DAC2D
monochromatic
#14144B #20217B #2D2EAC #4748CF #7879DC

Accessibility & contrast

On white

10.01
#2D2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D2EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EAC
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EAC#FFFFFF#000000##FFFFFF
##2D2EAC1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2eac;
/* rgb */ color: rgb(45, 46, 172);
/* oklch */ color: oklch(39.8% 0.193 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a68c6',
    500: '#2d2eac',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eac;
$custom-light: #7a68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eac",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 239.528,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.19332,
    "h": 273
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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