#4061CE#4061CE

#4061CE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.173 H 267.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4061CE
RGBrgb(64, 97, 206)
HSLhsl(226, 59%, 53%)
HSVhsv(226, 69%, 81%)
CMYKcmyk(68.9%, 52.9%, 0%, 19.2%)
CIE-LABlab(44.37, 24.38, -60.05)
CIE-LCHlch(44.37, 64.81, 292.10°)
OKLaboklab(52.94% -0.0076 -0.1727)
OKLCHoklch(52.94% 0.173 267.5)
XYZxyz(17.5258, 14.0939, 60.1773)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061CE #CEAD40
analogous
#40A8CE #4061CE #6640CE
triadic
#4061CE #CE4061 #61CE40
tetradic
#4061CE #CE40A8 #CEAD40 #40CE66
square
#4061CE #CE40A8 #CEAD40 #40CE66
split-complementary
#4061CE #CE6640 #A8CE40
monochromatic
#1E3275 #2B47A6 #4061CE #7189DA #A1B2E7

Accessibility & contrast

On white

5.50
#4061CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4061CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061CE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061CE#FFFFFF#000000##FFFFFF
##4061CE1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1470D2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4061ce;
/* rgb */ color: rgb(64, 97, 206);
/* oklch */ color: oklch(52.9% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#858dde',
    500: '#4061ce',
    950: '#000000',
  },
}
SCSS
$custom: #4061ce;
$custom-light: #858dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4061ce",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 226.056,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.17283,
    "h": 267.5
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#4061CE
secondary
#D4C596
accent
#BE45E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4061CE

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

Preview Lab → · Contrast checker → · Palette generator →

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