#2D2FC8#2D2FC8

#2D2FC8 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.226 H 271.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2D2FC8
RGBrgb(45, 47, 200)
HSLhsl(239, 63%, 48%)
HSVhsv(239, 78%, 78%)
CMYKcmyk(77.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(31.25, 50.73, -78.08)
CIE-LCHlch(31.25, 93.11, 303.01°)
OKLaboklab(42.91% 0.0046 -0.2261)
OKLCHoklch(42.91% 0.226 271.2)
XYZxyz(12.5205, 6.7597, 55.2773)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FC8 #C8C62D
analogous
#2D7CC8 #2D2FC8 #782DC8
triadic
#2D2FC8 #C82D2F #2FC82D
tetradic
#2D2FC8 #C82D7C #C8C62D #2DC878
square
#2D2FC8 #C82D7C #C8C62D #2DC878
split-complementary
#2D2FC8 #C8782D #7CC82D
monochromatic
#171864 #222396 #2D2FC8 #595ADA #8B8CE5

Accessibility & contrast

On white

8.93
#2D2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D2FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FC8
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FC8#FFFFFF#000000##FFFFFF
##2D2FC81.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CC
Deuteranopia (green-blind)
#0042C5
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d2fc8;
/* rgb */ color: rgb(45, 47, 200);
/* oklch */ color: oklch(42.9% 0.226 271.2);
Tailwind
colors: {
  custom: {
    50: '#816ada',
    500: '#2d2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2fc8;
$custom-light: #816ada;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2fc8",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 239.226,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.22612,
    "h": 271.2
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#2D2FC8
secondary
#CFCE82
accent
#E441E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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