#3F28D0#3F28D0

#3F28D0 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 44.0% C 0.237 H 276.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3F28D0
RGBrgb(63, 40, 208)
HSLhsl(248, 68%, 49%)
HSVhsv(248, 81%, 82%)
CMYKcmyk(69.7%, 80.8%, 0%, 18.4%)
CIE-LABlab(32.09, 57.94, -81.31)
CIE-LCHlch(32.09, 99.84, 305.47°)
OKLaboklab(44.05% 0.0274 -0.235)
OKLCHoklch(44.05% 0.237 276.7)
XYZxyz(14.1901, 7.1271, 60.2901)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28D0 #B9D028
analogous
#2865D0 #3F28D0 #9328D0
triadic
#3F28D0 #D03F28 #28D03F
tetradic
#3F28D0 #D02865 #B9D028 #28D093
square
#3F28D0 #D02865 #B9D028 #28D093
split-complementary
#3F28D0 #D09328 #65D028
monochromatic
#201469 #2F1E9D #3F28D0 #6957DF #978AE8

Accessibility & contrast

On white

8.66
#3F28D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F28D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F28D0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28D0#FFFFFF#000000##FFFFFF
##3F28D01.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D5
Deuteranopia (green-blind)
#0044CD
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f28d0;
/* rgb */ color: rgb(63, 40, 208);
/* oklch */ color: oklch(44.0% 0.237 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a68e0',
    500: '#3f28d0',
    950: '#000000',
  },
}
SCSS
$custom: #3f28d0;
$custom-light: #8a68e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28d0",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 208
  },
  "hsl": {
    "h": 248.214,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.23658,
    "h": 276.7
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#3F28D0
secondary
#C7D282
accent
#EB3DD3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #3F28D0

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

Preview Lab → · Contrast checker → · Palette generator →

#3F28D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva