#4035B3#4035B3

#4035B3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.190 H 278.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4035B3
RGBrgb(64, 53, 179)
HSLhsl(245, 54%, 45%)
HSVhsv(245, 70%, 70%)
CMYKcmyk(64.2%, 70.4%, 0%, 29.8%)
CIE-LABlab(31.55, 42.48, -65.15)
CIE-LCHlch(31.55, 77.78, 303.10°)
OKLaboklab(42.81% 0.0284 -0.188)
OKLCHoklch(42.81% 0.19 278.6)
XYZxyz(11.5215, 6.8899, 43.3618)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4035B3 #A8B335
analogous
#3569B3 #4035B3 #7F35B3
triadic
#4035B3 #B34035 #35B340
tetradic
#4035B3 #B33569 #A8B335 #35B37F
square
#4035B3 #B33569 #A8B335 #35B37F
split-complementary
#4035B3 #B37F35 #69B335
monochromatic
#1E1955 #2F2784 #4035B3 #6258CD #8E87DB

Accessibility & contrast

On white

8.83
#4035B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4035B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4035B3
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4035B3#FFFFFF#000000##FFFFFF
##4035B31.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4035b3;
/* rgb */ color: rgb(64, 53, 179);
/* oklch */ color: oklch(42.8% 0.190 278.6);
Tailwind
colors: {
  custom: {
    50: '#836ecb',
    500: '#4035b3',
    950: '#000000',
  },
}
SCSS
$custom: #4035b3;
$custom-light: #836ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4035b3",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 245.238,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.19013,
    "h": 278.6
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#4035B3
secondary
#BFC57F
accent
#DE4AD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4035B3

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

Preview Lab → · Contrast checker → · Palette generator →

#4035B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva