#4030BD#4030BD

#4030BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.208 H 278.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4030BD
RGBrgb(64, 48, 189)
HSLhsl(247, 59%, 46%)
HSVhsv(247, 75%, 74%)
CMYKcmyk(66.1%, 74.6%, 0%, 25.9%)
CIE-LABlab(31.53, 48.42, -71.13)
CIE-LCHlch(31.53, 86.05, 304.25°)
OKLaboklab(43.08% 0.0297 -0.2054)
OKLCHoklch(43.08% 0.208 278.2)
XYZxyz(12.3537, 6.8770, 48.8106)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030BD #ADBD30
analogous
#3066BD #4030BD #8730BD
triadic
#4030BD #BD4030 #30BD40
tetradic
#4030BD #BD3066 #ADBD30 #30BD87
square
#4030BD #BD3066 #ADBD30 #30BD87
split-complementary
#4030BD #BD8730 #66BD30
monochromatic
#1F175B #2F248C #4030BD #6456D4 #9187E0

Accessibility & contrast

On white

8.84
#4030BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4030BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030BD
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030BD#FFFFFF#000000##FFFFFF
##4030BD1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4030bd;
/* rgb */ color: rgb(64, 48, 189);
/* oklch */ color: oklch(43.1% 0.208 278.2);
Tailwind
colors: {
  custom: {
    50: '#856bd2',
    500: '#4030bd',
    950: '#000000',
  },
}
SCSS
$custom: #4030bd;
$custom-light: #856bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4030bd",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 246.809,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.20756,
    "h": 278.2
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4030BD

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

Preview Lab → · Contrast checker → · Palette generator →

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