#2D2FB9#2D2FB9

#2D2FB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.208 H 272.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2D2FB9
RGBrgb(45, 47, 185)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 73%)
CMYKcmyk(75.7%, 74.6%, 0%, 27.5%)
CIE-LABlab(29.64, 45.83, -71.91)
CIE-LCHlch(29.64, 85.27, 302.51°)
OKLaboklab(41.29% 0.0073 -0.2081)
OKLCHoklch(41.29% 0.208 272)
XYZxyz(10.8527, 6.0925, 46.4935)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FB9 #B9B72D
analogous
#2D75B9 #2D2FB9 #712DB9
triadic
#2D2FB9 #B92D2F #2FB92D
tetradic
#2D2FB9 #B92D75 #B9B72D #2DB971
square
#2D2FB9 #B92D75 #B9B72D #2DB971
split-complementary
#2D2FB9 #B9712D #75B92D
monochromatic
#151657 #212288 #2D2FB9 #4F51D4 #8082E0

Accessibility & contrast

On white

9.46
#2D2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FB9
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FB9#FFFFFF#000000##FFFFFF
##2D2FB91.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d2fb9;
/* rgb */ color: rgb(45, 47, 185);
/* oklch */ color: oklch(41.3% 0.208 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2d2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fb9;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fb9",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 239.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.20827,
    "h": 272
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#2D2FB9
secondary
#C9C879
accent
#E244E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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