#2D20B9#2D20B9

#2D20B9 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.221 H 273.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2D20B9
RGBrgb(45, 32, 185)
HSLhsl(245, 71%, 43%)
HSVhsv(245, 83%, 73%)
CMYKcmyk(75.7%, 82.7%, 0%, 27.5%)
CIE-LABlab(27.00, 53.45, -76.29)
CIE-LCHlch(27.00, 93.16, 305.02°)
OKLaboklab(39.44% 0.0126 -0.2207)
OKLCHoklch(39.44% 0.221 273.3)
XYZxyz(10.3527, 5.0926, 46.3269)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D20B9 #ACB920
analogous
#2060B9 #2D20B9 #7920B9
triadic
#2D20B9 #B92D20 #20B92D
tetradic
#2D20B9 #B92060 #ACB920 #20B979
square
#2D20B9 #B92060 #ACB920 #20B979
split-complementary
#2D20B9 #B97920 #60B920
monochromatic
#140E51 #201785 #2D20B9 #4739DD #786EE6

Accessibility & contrast

On white

10.40
#2D20B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D20B9
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D20B9#FFFFFF#000000##FFFFFF
##2D20B91.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BD
Deuteranopia (green-blind)
#0038B6
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d20b9;
/* rgb */ color: rgb(45, 32, 185);
/* oklch */ color: oklch(39.4% 0.221 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e61d0',
    500: '#2d20b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d20b9;
$custom-light: #7e61d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d20b9",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 185
  },
  "hsl": {
    "h": 245.098,
    "s": 70.507,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.22103,
    "h": 273.3
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#2D20B9
secondary
#C4CC69
accent
#ED3BDE
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2D20B9

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

Preview Lab → · Contrast checker → · Palette generator →

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