#2D2BA9#2D2BA9

#2D2BA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.193 H 273.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2D2BA9
RGBrgb(45, 43, 169)
HSLhsl(241, 59%, 42%)
HSVhsv(241, 75%, 66%)
CMYKcmyk(73.4%, 74.6%, 0%, 33.7%)
CIE-LABlab(27.16, 42.76, -66.46)
CIE-LCHlch(27.16, 79.03, 302.76°)
OKLaboklab(39.03% 0.012 -0.1923)
OKLCHoklch(39.03% 0.193 273.6)
XYZxyz(9.1051, 5.1493, 38.0425)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BA9 #A7A92B
analogous
#2B68A9 #2D2BA9 #6C2BA9
triadic
#2D2BA9 #A92D2B #2BA92D
tetradic
#2D2BA9 #A92B68 #A7A92B #2BA96C
square
#2D2BA9 #A92B68 #A7A92B #2BA96C
split-complementary
#2D2BA9 #A96C2B #68A92B
monochromatic
#131247 #201F78 #2D2BA9 #4442CF #7573DB

Accessibility & contrast

On white

10.34
#2D2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BA9
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BA9#FFFFFF#000000##FFFFFF
##2D2BA91.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d2ba9;
/* rgb */ color: rgb(45, 43, 169);
/* oklch */ color: oklch(39.0% 0.193 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a66c4',
    500: '#2d2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ba9;
$custom-light: #7a66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ba9",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 240.952,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.19263,
    "h": 273.6
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#2D2BA9
secondary
#C1C36D
accent
#E345E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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