#4061DB#4061DB

#4061DB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.190 H 268.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4061DB
RGBrgb(64, 97, 219)
HSLhsl(227, 68%, 55%)
HSVhsv(227, 71%, 86%)
CMYKcmyk(70.8%, 55.7%, 0%, 14.1%)
CIE-LABlab(45.29, 29.04, -65.98)
CIE-LCHlch(45.29, 72.09, 293.75°)
OKLaboklab(53.93% -0.0068 -0.1901)
OKLCHoklch(53.93% 0.19 268)
XYZxyz(19.1708, 14.7519, 68.8412)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061DB #DBBA40
analogous
#40AEDB #4061DB #6C40DB
triadic
#4061DB #DB4061 #61DB40
tetradic
#4061DB #DB40AE #DBBA40 #40DB6C
square
#4061DB #DB40AE #DBBA40 #40DB6C
split-complementary
#4061DB #DB6C40 #AEDB40
monochromatic
#193187 #2343BB #4061DB #738CE5 #A7B6EE

Accessibility & contrast

On white

5.32
#4061DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4061DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061DB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061DB#FFFFFF#000000##FFFFFF
##4061DB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4061db;
/* rgb */ color: rgb(64, 97, 219);
/* oklch */ color: oklch(53.9% 0.190 268.0);
Tailwind
colors: {
  custom: {
    50: '#888de7',
    500: '#4061db',
    950: '#000000',
  },
}
SCSS
$custom: #4061db;
$custom-light: #888de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4061db",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 227.226,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.19022,
    "h": 268
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#4061DB
secondary
#DCCE9B
accent
#C63DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4061DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4061DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva