#4044B8#4044B8

#4044B8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.179 H 275.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4044B8
RGBrgb(64, 68, 184)
HSLhsl(238, 48%, 49%)
HSVhsv(238, 65%, 72%)
CMYKcmyk(65.2%, 63%, 0%, 27.8%)
CIE-LABlab(35.37, 35.08, -61.87)
CIE-LCHlch(35.37, 71.12, 299.55°)
OKLaboklab(45.71% 0.0163 -0.1783)
OKLCHoklch(45.71% 0.179 275.2)
XYZxyz(12.8304, 8.6838, 46.3381)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044B8 #B8B440
analogous
#4080B8 #4044B8 #7840B8
triadic
#4044B8 #B84044 #44B840
tetradic
#4044B8 #B84080 #B8B440 #40B878
square
#4044B8 #B84080 #B8B440 #40B878
split-complementary
#4044B8 #B87840 #80B840
monochromatic
#20225D #30338B #4044B8 #6A6DCB #979ADB

Accessibility & contrast

On white

7.67
#4044B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4044B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044B8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044B8#FFFFFF#000000##FFFFFF
##4044B81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4044b8;
/* rgb */ color: rgb(64, 68, 184);
/* oklch */ color: oklch(45.7% 0.179 275.2);
Tailwind
colors: {
  custom: {
    50: '#8378ce',
    500: '#4044b8',
    950: '#000000',
  },
}
SCSS
$custom: #4044b8;
$custom-light: #8378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4044b8",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 184
  },
  "hsl": {
    "h": 238,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.17908,
    "h": 275.2
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#4044B8
secondary
#C7C58D
accent
#D350D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4044B8

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

Preview Lab → · Contrast checker → · Palette generator →

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