#2D2AA3#2D2AA3

#2D2AA3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.186 H 274.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2D2AA3
RGBrgb(45, 42, 163)
HSLhsl(241, 59%, 40%)
HSVhsv(241, 74%, 64%)
CMYKcmyk(72.4%, 74.2%, 0%, 36.1%)
CIE-LABlab(26.32, 41.33, -64.20)
CIE-LCHlch(26.32, 76.35, 302.77°)
OKLaboklab(38.25% 0.0136 -0.1857)
OKLCHoklch(38.25% 0.186 274.2)
XYZxyz(8.5188, 4.8573, 35.1318)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AA3 #A0A32A
analogous
#2A63A3 #2D2AA3 #6A2AA3
triadic
#2D2AA3 #A32D2A #2AA32D
tetradic
#2D2AA3 #A32A63 #A0A32A #2AA36A
square
#2D2AA3 #A32A63 #A0A32A #2AA36A
split-complementary
#2D2AA3 #A36A2A #63A32A
monochromatic
#121142 #201D72 #2D2AA3 #413DCD #706EDA

Accessibility & contrast

On white

10.65
#2D2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AA3
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AA3#FFFFFF#000000##FFFFFF
##2D2AA31.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d2aa3;
/* rgb */ color: rgb(45, 42, 163);
/* oklch */ color: oklch(38.2% 0.186 274.2);
Tailwind
colors: {
  custom: {
    50: '#7865bf',
    500: '#2d2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2aa3;
$custom-light: #7865bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2aa3",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 241.488,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.18618,
    "h": 274.2
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#2D2AA3
secondary
#BEC068
accent
#E246DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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