#4030B9#4030B9

#4030B9 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.203 H 278.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4030B9
RGBrgb(64, 48, 185)
HSLhsl(247, 59%, 46%)
HSVhsv(247, 74%, 73%)
CMYKcmyk(65.4%, 74.1%, 0%, 27.5%)
CIE-LABlab(31.13, 47.18, -69.42)
CIE-LCHlch(31.13, 83.93, 304.20°)
OKLaboklab(42.68% 0.0306 -0.2004)
OKLCHoklch(42.68% 0.203 278.7)
XYZxyz(11.9254, 6.7057, 46.5554)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030B9 #A9B930
analogous
#3065B9 #4030B9 #8430B9
triadic
#4030B9 #B94030 #30B940
tetradic
#4030B9 #B93065 #A9B930 #30B984
square
#4030B9 #B93065 #A9B930 #30B984
split-complementary
#4030B9 #B98430 #65B930
monochromatic
#1E1758 #2F2388 #4030B9 #6254D3 #8F84DF

Accessibility & contrast

On white

8.97
#4030B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4030B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030B9
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030B9#FFFFFF#000000##FFFFFF
##4030B91.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4030b9;
/* rgb */ color: rgb(64, 48, 185);
/* oklch */ color: oklch(42.7% 0.203 278.7);
Tailwind
colors: {
  custom: {
    50: '#856bcf',
    500: '#4030b9',
    950: '#000000',
  },
}
SCSS
$custom: #4030b9;
$custom-light: #856bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4030b9",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 247.007,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42679,
    "c": 0.20276,
    "h": 278.7
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#4030B9
secondary
#C0C97C
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4030B9

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

Preview Lab → · Contrast checker → · Palette generator →

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