#4044CA#4044CA

#4044CA is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.3% C 0.202 H 274.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4044CA
RGBrgb(64, 68, 202)
HSLhsl(238, 57%, 52%)
HSVhsv(238, 68%, 79%)
CMYKcmyk(68.3%, 66.3%, 0%, 20.8%)
CIE-LABlab(36.91, 41.19, -69.89)
CIE-LCHlch(36.91, 81.12, 300.51°)
OKLaboklab(47.31% 0.0148 -0.2018)
OKLCHoklch(47.31% 0.202 274.2)
XYZxyz(14.8386, 9.4871, 56.9149)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044CA #CAC640
analogous
#4089CA #4044CA #8140CA
triadic
#4044CA #CA4044 #44CA40
tetradic
#4044CA #CA4089 #CAC640 #40CA81
square
#4044CA #CA4089 #CAC640 #40CA81
split-complementary
#4044CA #CA8140 #89CA40
monochromatic
#1F2270 #2C30A0 #4044CA #7073D7 #A0A2E5

Accessibility & contrast

On white

7.25
#4044CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4044CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044CA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044CA#FFFFFF#000000##FFFFFF
##4044CA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4044ca;
/* rgb */ color: rgb(64, 68, 202);
/* oklch */ color: oklch(47.3% 0.202 274.2);
Tailwind
colors: {
  custom: {
    50: '#8778db',
    500: '#4044ca',
    950: '#000000',
  },
}
SCSS
$custom: #4044ca;
$custom-light: #8778db;
$custom-dark: #000000;
JSON
{
  "hex": "#4044ca",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 238.261,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.20239,
    "h": 274.2
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#4044CA
secondary
#D1CF95
accent
#DB48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4044CA

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

Preview Lab → · Contrast checker → · Palette generator →

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