#2D2AA8#2D2AA8

#2D2AA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.192 H 273.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2D2AA8
RGBrgb(45, 42, 168)
HSLhsl(241, 60%, 41%)
HSVhsv(241, 75%, 66%)
CMYKcmyk(73.2%, 75%, 0%, 34.1%)
CIE-LABlab(26.85, 43.00, -66.36)
CIE-LCHlch(26.85, 79.07, 302.94°)
OKLaboklab(38.78% 0.0127 -0.192)
OKLCHoklch(38.78% 0.192 273.8)
XYZxyz(8.9757, 5.0401, 37.5380)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AA8 #A5A82A
analogous
#2A66A8 #2D2AA8 #6C2AA8
triadic
#2D2AA8 #A82D2A #2AA82D
tetradic
#2D2AA8 #A82A66 #A5A82A #2AA86C
square
#2D2AA8 #A82A66 #A5A82A #2AA86C
split-complementary
#2D2AA8 #A86C2A #66A82A
monochromatic
#131246 #201E77 #2D2AA8 #4340CF #7371DB

Accessibility & contrast

On white

10.46
#2D2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2AA8
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AA8#FFFFFF#000000##FFFFFF
##2D2AA81.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d2aa8;
/* rgb */ color: rgb(45, 42, 168);
/* oklch */ color: oklch(38.8% 0.192 273.8);
Tailwind
colors: {
  custom: {
    50: '#7a65c3',
    500: '#2d2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2aa8;
$custom-light: #7a65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2aa8",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 241.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38777,
    "c": 0.19239,
    "h": 273.8
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#2D2AA8
secondary
#C1C36B
accent
#E345DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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