#4034B3#4034B3

#4034B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.191 H 278.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4034B3
RGBrgb(64, 52, 179)
HSLhsl(246, 55%, 45%)
HSVhsv(246, 71%, 70%)
CMYKcmyk(64.2%, 70.9%, 0%, 29.8%)
CIE-LABlab(31.35, 43.05, -65.50)
CIE-LCHlch(31.35, 78.38, 303.32°)
OKLaboklab(42.66% 0.0291 -0.189)
OKLCHoklch(42.66% 0.191 278.8)
XYZxyz(11.4764, 6.7997, 43.3468)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4034B3 #A7B334
analogous
#3468B3 #4034B3 #7F34B3
triadic
#4034B3 #B34034 #34B340
tetradic
#4034B3 #B33468 #A7B334 #34B37F
square
#4034B3 #B33468 #A7B334 #34B37F
split-complementary
#4034B3 #B37F34 #68B334
monochromatic
#1E1854 #2F2684 #4034B3 #6256CE #8E86DC

Accessibility & contrast

On white

8.90
#4034B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4034B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4034B3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4034B3#FFFFFF#000000##FFFFFF
##4034B31.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.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: #4034b3;
/* rgb */ color: rgb(64, 52, 179);
/* oklch */ color: oklch(42.7% 0.191 278.8);
Tailwind
colors: {
  custom: {
    50: '#836dcb',
    500: '#4034b3',
    950: '#000000',
  },
}
SCSS
$custom: #4034b3;
$custom-light: #836dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4034b3",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 245.669,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.19122,
    "h": 278.8
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#4034B3
secondary
#BFC57D
accent
#DE49D0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4034B3

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

Preview Lab → · Contrast checker → · Palette generator →

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