#4030BC#4030BC

#4030BC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.206 H 278.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4030BC
RGBrgb(64, 48, 188)
HSLhsl(247, 59%, 46%)
HSVhsv(247, 74%, 74%)
CMYKcmyk(66%, 74.5%, 0%, 26.3%)
CIE-LABlab(31.43, 48.11, -70.70)
CIE-LCHlch(31.43, 85.52, 304.24°)
OKLaboklab(42.98% 0.03 -0.2042)
OKLCHoklch(42.98% 0.206 278.3)
XYZxyz(12.2455, 6.8337, 48.2409)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030BC #ACBC30
analogous
#3066BC #4030BC #8630BC
triadic
#4030BC #BC4030 #30BC40
tetradic
#4030BC #BC3066 #ACBC30 #30BC86
square
#4030BC #BC3066 #ACBC30 #30BC86
split-complementary
#4030BC #BC8630 #66BC30
monochromatic
#1F175A #2F248B #4030BC #6455D4 #9186E0

Accessibility & contrast

On white

8.87
#4030BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4030BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030BC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030BC#FFFFFF#000000##FFFFFF
##4030BC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4030bc;
/* rgb */ color: rgb(64, 48, 188);
/* oklch */ color: oklch(43.0% 0.206 278.3);
Tailwind
colors: {
  custom: {
    50: '#856bd1',
    500: '#4030bc',
    950: '#000000',
  },
}
SCSS
$custom: #4030bc;
$custom-light: #856bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4030bc",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 246.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.20637,
    "h": 278.3
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#4030BC
secondary
#C1CA7E
accent
#E345D1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4030BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4030BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva