#2D2FE2#2D2FE2

#2D2FE2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.256 H 269.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2D2FE2
RGBrgb(45, 47, 226)
HSLhsl(239, 76%, 53%)
HSVhsv(239, 80%, 89%)
CMYKcmyk(80.1%, 79.2%, 0%, 11.4%)
CIE-LABlab(34.15, 58.89, -88.31)
CIE-LCHlch(34.15, 106.14, 303.70°)
OKLaboklab(45.78% -0.0003 -0.2557)
OKLCHoklch(45.78% 0.256 269.9)
XYZxyz(15.8215, 8.0801, 72.6625)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FE2 #E2E02D
analogous
#2D89E2 #2D2FE2 #852DE2
triadic
#2D2FE2 #E22D2F #2FE22D
tetradic
#2D2FE2 #E22D89 #E2E02D #2DE285
square
#2D2FE2 #E22D89 #E2E02D #2DE285
split-complementary
#2D2FE2 #E2852D #89E22D
monochromatic
#121383 #191BB8 #2D2FE2 #6364E9 #999AF1

Accessibility & contrast

On white

8.03
#2D2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D2FE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FE2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FE2#FFFFFF#000000##FFFFFF
##2D2FE21.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d2fe2;
/* rgb */ color: rgb(45, 47, 226);
/* oklch */ color: oklch(45.8% 0.256 269.9);
Tailwind
colors: {
  custom: {
    50: '#876ced',
    500: '#2d2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fe2;
$custom-light: #876ced;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fe2",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 239.337,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.25573,
    "h": 269.9
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#2D2FE2
secondary
#DCDC8E
accent
#F035F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2D2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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