#4061CA#4061CA

#4061CA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.167 H 267.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4061CA
RGBrgb(64, 97, 202)
HSLhsl(226, 57%, 52%)
HSVhsv(226, 68%, 79%)
CMYKcmyk(68.3%, 52%, 0%, 20.8%)
CIE-LABlab(44.09, 22.95, -58.19)
CIE-LCHlch(44.09, 62.55, 291.52°)
OKLaboklab(52.64% -0.008 -0.1672)
OKLCHoklch(52.64% 0.167 267.3)
XYZxyz(17.0460, 13.9020, 57.6507)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061CA #CAA940
analogous
#40A6CA #4061CA #6440CA
triadic
#4061CA #CA4061 #61CA40
tetradic
#4061CA #CA40A6 #CAA940 #40CA64
square
#4061CA #CA40A6 #CAA940 #40CA64
split-complementary
#4061CA #CA6440 #A6CA40
monochromatic
#1F3370 #2C48A0 #4061CA #7089D7 #A0B0E5

Accessibility & contrast

On white

5.55
#4061CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4061CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061CA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061CA#FFFFFF#000000##FFFFFF
##4061CA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4061ca;
/* rgb */ color: rgb(64, 97, 202);
/* oklch */ color: oklch(52.6% 0.167 267.3);
Tailwind
colors: {
  custom: {
    50: '#858ddb',
    500: '#4061ca',
    950: '#000000',
  },
}
SCSS
$custom: #4061ca;
$custom-light: #858ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4061ca",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 225.652,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.16739,
    "h": 267.3
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#4061CA
secondary
#D1C395
accent
#BC48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4061CA

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

Preview Lab → · Contrast checker → · Palette generator →

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