#2D2BA4#2D2BA4

#2D2BA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.186 H 274.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2D2BA4
RGBrgb(45, 43, 164)
HSLhsl(241, 58%, 41%)
HSVhsv(241, 74%, 64%)
CMYKcmyk(72.6%, 73.8%, 0%, 35.7%)
CIE-LABlab(26.64, 41.09, -64.30)
CIE-LCHlch(26.64, 76.30, 302.58°)
OKLaboklab(38.5% 0.0129 -0.186)
OKLCHoklch(38.5% 0.186 274)
XYZxyz(8.6447, 4.9651, 35.6175)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BA4 #A2A42B
analogous
#2B65A4 #2D2BA4 #692BA4
triadic
#2D2BA4 #A42D2B #2BA42D
tetradic
#2D2BA4 #A42B65 #A2A42B #2BA469
square
#2D2BA4 #A42B65 #A2A42B #2BA469
split-complementary
#2D2BA4 #A4692B #65A42B
monochromatic
#121243 #201E74 #2D2BA4 #423FCD #7270D9

Accessibility & contrast

On white

10.54
#2D2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BA4
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BA4#FFFFFF#000000##FFFFFF
##2D2BA41.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d2ba4;
/* rgb */ color: rgb(45, 43, 164);
/* oklch */ color: oklch(38.5% 0.186 274.0);
Tailwind
colors: {
  custom: {
    50: '#7966c0',
    500: '#2d2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ba4;
$custom-light: #7966c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ba4",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 240.992,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38501,
    "c": 0.18641,
    "h": 274
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#2D2BA4
secondary
#BFC16A
accent
#E246DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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