#4030CE#4030CE

#4030CE is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.8% C 0.228 H 276.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4030CE
RGBrgb(64, 48, 206)
HSLhsl(246, 62%, 50%)
HSVhsv(246, 77%, 81%)
CMYKcmyk(68.9%, 76.7%, 0%, 19.2%)
CIE-LABlab(33.26, 53.65, -78.21)
CIE-LCHlch(33.26, 94.84, 304.45°)
OKLaboklab(44.82% 0.0258 -0.2261)
OKLCHoklch(44.82% 0.228 276.5)
XYZxyz(14.3082, 7.6588, 59.1048)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030CE #BECE30
analogous
#306FCE #4030CE #8F30CE
triadic
#4030CE #CE4030 #30CE40
tetradic
#4030CE #CE306F #BECE30 #30CE8F
square
#4030CE #CE306F #BECE30 #30CE8F
split-complementary
#4030CE #CE8F30 #6FCE30
monochromatic
#21196B #31249C #4030CE #6D61DA #9B93E6

Accessibility & contrast

On white

8.29
#4030CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4030CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030CE
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030CE#FFFFFF#000000##FFFFFF
##4030CE1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0047CB
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4030ce;
/* rgb */ color: rgb(64, 48, 206);
/* oklch */ color: oklch(44.8% 0.228 276.5);
Tailwind
colors: {
  custom: {
    50: '#896cde',
    500: '#4030ce',
    950: '#000000',
  },
}
SCSS
$custom: #4030ce;
$custom-light: #896cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4030ce",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 246.076,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.22754,
    "h": 276.5
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#4030CE
secondary
#C9D189
accent
#E543D5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4030CE

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

Preview Lab → · Contrast checker → · Palette generator →

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