#4044B3#4044B3

#4044B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.172 H 275.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4044B3
RGBrgb(64, 68, 179)
HSLhsl(238, 47%, 48%)
HSVhsv(238, 64%, 70%)
CMYKcmyk(64.2%, 62%, 0%, 29.8%)
CIE-LABlab(34.96, 33.36, -59.58)
CIE-LCHlch(34.96, 68.29, 299.24°)
OKLaboklab(45.28% 0.0166 -0.1716)
OKLCHoklch(45.28% 0.172 275.5)
XYZxyz(12.3155, 8.4779, 43.6265)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044B3 #B3AF40
analogous
#407DB3 #4044B3 #7540B3
triadic
#4044B3 #B34044 #44B340
tetradic
#4044B3 #B3407D #B3AF40 #40B375
square
#4044B3 #B3407D #B3AF40 #40B375
split-complementary
#4044B3 #B37540 #7DB340
monochromatic
#202259 #303386 #4044B3 #676BC9 #9497D9

Accessibility & contrast

On white

7.79
#4044B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4044B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044B3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044B3#FFFFFF#000000##FFFFFF
##4044B31.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4044b3;
/* rgb */ color: rgb(64, 68, 179);
/* oklch */ color: oklch(45.3% 0.172 275.5);
Tailwind
colors: {
  custom: {
    50: '#8278cb',
    500: '#4044b3',
    950: '#000000',
  },
}
SCSS
$custom: #4044b3;
$custom-light: #8278cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4044b3",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 179
  },
  "hsl": {
    "h": 237.913,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.17243,
    "h": 275.5
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#4044B3
secondary
#C4C28A
accent
#D251D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4044B3

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

Preview Lab → · Contrast checker → · Palette generator →

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