#3031D0#3031D0

#3031D0 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.233 H 271.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3031D0
RGBrgb(48, 49, 208)
HSLhsl(240, 63%, 50%)
HSVhsv(240, 77%, 82%)
CMYKcmyk(76.9%, 76.4%, 0%, 18.4%)
CIE-LABlab(32.65, 52.44, -80.42)
CIE-LCHlch(32.65, 96.01, 303.11°)
OKLaboklab(44.19% 0.0057 -0.2328)
OKLCHoklch(44.19% 0.233 271.4)
XYZxyz(13.6986, 7.3776, 60.3643)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3031D0 #D0CF30
analogous
#3081D0 #3031D0 #7F30D0
triadic
#3031D0 #D03031 #31D030
tetradic
#3031D0 #D03081 #D0CF30 #30D07F
square
#3031D0 #D03081 #D0CF30 #30D07F
split-complementary
#3031D0 #D07F30 #81D030
monochromatic
#19196D #24259F #3031D0 #6263DB #9494E7

Accessibility & contrast

On white

8.48
#3031D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3031D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3031D0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3031D0#FFFFFF#000000##FFFFFF
##3031D01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D5
Deuteranopia (green-blind)
#0045CD
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3031d0;
/* rgb */ color: rgb(48, 49, 208);
/* oklch */ color: oklch(44.2% 0.233 271.4);
Tailwind
colors: {
  custom: {
    50: '#836ce0',
    500: '#3031d0',
    950: '#000000',
  },
}
SCSS
$custom: #3031d0;
$custom-light: #836ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#3031d0",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 239.625,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.2329,
    "h": 271.4
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#3031D0
secondary
#D2D18A
accent
#E542E6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3031D0

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

Preview Lab → · Contrast checker → · Palette generator →

#3031D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva