#2D2EAB#2D2EAB

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

Color values

HEX#2D2EAB
RGBrgb(45, 46, 171)
HSLhsl(240, 58%, 42%)
HSVhsv(240, 74%, 67%)
CMYKcmyk(73.7%, 73.1%, 0%, 32.9%)
CIE-LABlab(27.98, 41.70, -66.30)
CIE-LCHlch(27.98, 78.32, 302.17°)
OKLaboklab(39.68% 0.0101 -0.1918)
OKLCHoklch(39.68% 0.192 273)
XYZxyz(9.4074, 5.4512, 39.0766)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EAB #ABAA2D
analogous
#2D6DAB #2D2EAB #6B2DAB
triadic
#2D2EAB #AB2D2E #2EAB2D
tetradic
#2D2EAB #AB2D6D #ABAA2D #2DAB6B
square
#2D2EAB #AB2D6D #ABAA2D #2DAB6B
split-complementary
#2D2EAB #AB6B2D #6DAB2D
monochromatic
#14144A #20217B #2D2EAB #4748CE #7778DB

Accessibility & contrast

On white

10.05
#2D2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EAB
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EAB#FFFFFF#000000##FFFFFF
##2D2EAB1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2eab;
/* rgb */ color: rgb(45, 46, 171);
/* oklch */ color: oklch(39.7% 0.192 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a68c5',
    500: '#2d2eab',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eab;
$custom-light: #7a68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eab",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 239.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.19207,
    "h": 273
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#2D2EAB
secondary
#C3C371
accent
#E046E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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