#4061CF#4061CF

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

Color values

HEX#4061CF
RGBrgb(64, 97, 207)
HSLhsl(226, 60%, 53%)
HSVhsv(226, 69%, 81%)
CMYKcmyk(69.1%, 53.1%, 0%, 18.8%)
CIE-LABlab(44.44, 24.74, -60.51)
CIE-LCHlch(44.44, 65.37, 292.24°)
OKLaboklab(53.01% -0.0075 -0.174)
OKLCHoklch(53.01% 0.174 267.5)
XYZxyz(17.6476, 14.1426, 60.8191)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061CF #CFAE40
analogous
#40A8CF #4061CF #6640CF
triadic
#4061CF #CF4061 #61CF40
tetradic
#4061CF #CF40A8 #CFAE40 #40CF66
square
#4061CF #CF40A8 #CFAE40 #40CF66
split-complementary
#4061CF #CF6640 #A8CF40
monochromatic
#1E3277 #2A47A8 #4061CF #7189DB #A2B2E8

Accessibility & contrast

On white

5.48
#4061CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4061CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061CF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061CF#FFFFFF#000000##FFFFFF
##4061CF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1170D3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4061cf;
/* rgb */ color: rgb(64, 97, 207);
/* oklch */ color: oklch(53.0% 0.174 267.5);
Tailwind
colors: {
  custom: {
    50: '#868dde',
    500: '#4061cf',
    950: '#000000',
  },
}
SCSS
$custom: #4061cf;
$custom-light: #868dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4061cf",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 226.154,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53012,
    "c": 0.17418,
    "h": 267.5
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#4061CF
secondary
#D4C697
accent
#BE45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4061CF

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

Preview Lab → · Contrast checker → · Palette generator →

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