#4044CB#4044CB

#4044CB is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.4% C 0.204 H 274.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4044CB
RGBrgb(64, 68, 203)
HSLhsl(238, 57%, 52%)
HSVhsv(238, 68%, 80%)
CMYKcmyk(68.5%, 66.5%, 0%, 20.4%)
CIE-LABlab(36.99, 41.52, -70.33)
CIE-LCHlch(36.99, 81.67, 300.56°)
OKLaboklab(47.4% 0.0147 -0.2031)
OKLCHoklch(47.4% 0.204 274.1)
XYZxyz(14.9574, 9.5346, 57.5404)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044CB #CBC740
analogous
#408ACB #4044CB #8140CB
triadic
#4044CB #CB4044 #44CB40
tetradic
#4044CB #CB408A #CBC740 #40CB81
square
#4044CB #CB408A #CBC740 #40CB81
split-complementary
#4044CB #CB8140 #8ACB40
monochromatic
#1F2172 #2C2FA2 #4044CB #7073D8 #A0A2E5

Accessibility & contrast

On white

7.22
#4044CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4044CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044CB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044CB#FFFFFF#000000##FFFFFF
##4044CB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4044cb;
/* rgb */ color: rgb(64, 68, 203);
/* oklch */ color: oklch(47.4% 0.204 274.1);
Tailwind
colors: {
  custom: {
    50: '#8778dc',
    500: '#4044cb',
    950: '#000000',
  },
}
SCSS
$custom: #4044cb;
$custom-light: #8778dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4044cb",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 238.273,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.20366,
    "h": 274.1
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#4044CB
secondary
#D2D095
accent
#DC47E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4044CB

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

Preview Lab → · Contrast checker → · Palette generator →

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