#2D2BA8#2D2BA8

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

Color values

HEX#2D2BA8
RGBrgb(45, 43, 168)
HSLhsl(241, 59%, 41%)
HSVhsv(241, 74%, 66%)
CMYKcmyk(73.2%, 74.4%, 0%, 34.1%)
CIE-LABlab(27.05, 42.43, -66.03)
CIE-LCHlch(27.05, 78.48, 302.72°)
OKLaboklab(38.92% 0.0122 -0.191)
OKLCHoklch(38.92% 0.191 273.6)
XYZxyz(9.0116, 5.1119, 37.5500)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BA8 #A6A82B
analogous
#2B68A8 #2D2BA8 #6C2BA8
triadic
#2D2BA8 #A82D2B #2BA82D
tetradic
#2D2BA8 #A82B68 #A6A82B #2BA86C
square
#2D2BA8 #A82B68 #A6A82B #2BA86C
split-complementary
#2D2BA8 #A86C2B #68A82B
monochromatic
#131247 #201F77 #2D2BA8 #4442CF #7472DB

Accessibility & contrast

On white

10.38
#2D2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BA8
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BA8#FFFFFF#000000##FFFFFF
##2D2BA81.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d2ba8;
/* rgb */ color: rgb(45, 43, 168);
/* oklch */ color: oklch(38.9% 0.191 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a66c3',
    500: '#2d2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ba8;
$custom-light: #7a66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ba8",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 240.96,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.19139,
    "h": 273.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#2D2BA8
secondary
#C1C26C
accent
#E245E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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