#2D2BA0#2D2BA0

#2D2BA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.181 H 274.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2D2BA0
RGBrgb(45, 43, 160)
HSLhsl(241, 58%, 40%)
HSVhsv(241, 73%, 63%)
CMYKcmyk(71.9%, 73.1%, 0%, 37.3%)
CIE-LABlab(26.22, 39.73, -62.55)
CIE-LCHlch(26.22, 74.10, 302.42°)
OKLaboklab(38.09% 0.0136 -0.1809)
OKLCHoklch(38.09% 0.181 274.3)
XYZxyz(8.2891, 4.8229, 33.7450)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BA0 #9EA02B
analogous
#2B63A0 #2D2BA0 #682BA0
triadic
#2D2BA0 #A02D2B #2BA02D
tetradic
#2D2BA0 #A02B63 #9EA02B #2BA068
square
#2D2BA0 #A02B63 #9EA02B #2BA068
split-complementary
#2D2BA0 #A0682B #63A02B
monochromatic
#121140 #1F1E70 #2D2BA0 #403DCB #6F6ED8

Accessibility & contrast

On white

10.69
#2D2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BA0
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BA0#FFFFFF#000000##FFFFFF
##2D2BA01.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d2ba0;
/* rgb */ color: rgb(45, 43, 160);
/* oklch */ color: oklch(38.1% 0.181 274.3);
Tailwind
colors: {
  custom: {
    50: '#7866bd',
    500: '#2d2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ba0;
$custom-light: #7866bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ba0",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 241.026,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.18137,
    "h": 274.3
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#2D2BA0
secondary
#BDBF68
accent
#E147DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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