#2D2FB2#2D2FB2

#2D2FB2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.200 H 272.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2D2FB2
RGBrgb(45, 47, 178)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 70%)
CMYKcmyk(74.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(28.91, 43.49, -68.95)
CIE-LCHlch(28.91, 81.52, 302.24°)
OKLaboklab(40.56% 0.0085 -0.1995)
OKLCHoklch(40.56% 0.2 272.4)
XYZxyz(10.1319, 5.8042, 42.6972)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FB2 #B2B02D
analogous
#2D71B2 #2D2FB2 #6D2DB2
triadic
#2D2FB2 #B22D2F #2FB22D
tetradic
#2D2FB2 #B22D71 #B2B02D #2DB26D
square
#2D2FB2 #B22D71 #B2B02D #2DB26D
split-complementary
#2D2FB2 #B26D2D #71B22D
monochromatic
#141550 #212281 #2D2FB2 #4B4DD1 #7C7DDE

Accessibility & contrast

On white

9.72
#2D2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FB2
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FB2#FFFFFF#000000##FFFFFF
##2D2FB21.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2fb2;
/* rgb */ color: rgb(45, 47, 178);
/* oklch */ color: oklch(40.6% 0.200 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c69ca',
    500: '#2d2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fb2;
$custom-light: #7c69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fb2",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 239.098,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.19973,
    "h": 272.4
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#2D2FB2
secondary
#C6C575
accent
#E045E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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