#4030BF#4030BF

#4030BF is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.3% C 0.210 H 278.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4030BF
RGBrgb(64, 48, 191)
HSLhsl(247, 60%, 47%)
HSVhsv(247, 75%, 75%)
CMYKcmyk(66.5%, 74.9%, 0%, 25.1%)
CIE-LABlab(31.73, 49.04, -71.98)
CIE-LCHlch(31.73, 87.10, 304.27°)
OKLaboklab(43.28% 0.0293 -0.2079)
OKLCHoklch(43.28% 0.21 278)
XYZxyz(12.5722, 6.9644, 49.9618)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030BF #AFBF30
analogous
#3068BF #4030BF #8830BF
triadic
#4030BF #BF4030 #30BF40
tetradic
#4030BF #BF3068 #AFBF30 #30BF88
square
#4030BF #BF3068 #AFBF30 #30BF88
split-complementary
#4030BF #BF8830 #68BF30
monochromatic
#1F175D #30248E #4030BF #6557D5 #9288E1

Accessibility & contrast

On white

8.78
#4030BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4030BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030BF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030BF#FFFFFF#000000##FFFFFF
##4030BF1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4030bf;
/* rgb */ color: rgb(64, 48, 191);
/* oklch */ color: oklch(43.3% 0.210 278.0);
Tailwind
colors: {
  custom: {
    50: '#866bd4',
    500: '#4030bf',
    950: '#000000',
  },
}
SCSS
$custom: #4030bf;
$custom-light: #866bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4030bf",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 246.713,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.20994,
    "h": 278
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#4030BF
secondary
#C3CB80
accent
#E345D1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4030BF

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

Preview Lab → · Contrast checker → · Palette generator →

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