#3031C0#3031C0

#3031C0 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.214 H 272.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3031C0
RGBrgb(48, 49, 192)
HSLhsl(240, 60%, 47%)
HSVhsv(240, 75%, 75%)
CMYKcmyk(75%, 74.5%, 0%, 24.7%)
CIE-LABlab(30.95, 47.27, -73.88)
CIE-LCHlch(30.95, 87.71, 302.61°)
OKLaboklab(42.48% 0.0086 -0.2138)
OKLCHoklch(42.48% 0.214 272.3)
XYZxyz(11.8285, 6.6295, 50.5152)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3031C0 #C0BF30
analogous
#3079C0 #3031C0 #7730C0
triadic
#3031C0 #C03031 #31C030
tetradic
#3031C0 #C03079 #C0BF30 #30C077
square
#3031C0 #C03079 #C0BF30 #30C077
split-complementary
#3031C0 #C07730 #79C030
monochromatic
#18185E #24258F #3031C0 #5859D5 #898AE1

Accessibility & contrast

On white

9.03
#3031C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3031C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3031C0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3031C0#FFFFFF#000000##FFFFFF
##3031C01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0042BD
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3031c0;
/* rgb */ color: rgb(48, 49, 192);
/* oklch */ color: oklch(42.5% 0.214 272.3);
Tailwind
colors: {
  custom: {
    50: '#806bd4',
    500: '#3031c0',
    950: '#000000',
  },
}
SCSS
$custom: #3031c0;
$custom-light: #806bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3031c0",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 239.583,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.21401,
    "h": 272.3
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#3031C0
secondary
#CBCB80
accent
#E245E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3031C0

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

Preview Lab → · Contrast checker → · Palette generator →

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