#4061CB#4061CB

#4061CB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.169 H 267.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4061CB
RGBrgb(64, 97, 203)
HSLhsl(226, 57%, 52%)
HSVhsv(226, 68%, 80%)
CMYKcmyk(68.5%, 52.2%, 0%, 20.4%)
CIE-LABlab(44.16, 23.31, -58.66)
CIE-LCHlch(44.16, 63.12, 291.67°)
OKLaboklab(52.72% -0.0079 -0.1686)
OKLCHoklch(52.72% 0.169 267.3)
XYZxyz(17.1648, 13.9495, 58.2763)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061CB #CBAA40
analogous
#40A7CB #4061CB #6440CB
triadic
#4061CB #CB4061 #61CB40
tetradic
#4061CB #CB40A7 #CBAA40 #40CB64
square
#4061CB #CB40A7 #CBAA40 #40CB64
split-complementary
#4061CB #CB6440 #A7CB40
monochromatic
#1F3372 #2C48A2 #4061CB #7089D8 #A0B1E5

Accessibility & contrast

On white

5.54
#4061CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4061CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061CB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061CB#FFFFFF#000000##FFFFFF
##4061CB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4061cb;
/* rgb */ color: rgb(64, 97, 203);
/* oklch */ color: oklch(52.7% 0.169 267.3);
Tailwind
colors: {
  custom: {
    50: '#858ddc',
    500: '#4061cb',
    950: '#000000',
  },
}
SCSS
$custom: #4061cb;
$custom-light: #858ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4061cb",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 225.755,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.16875,
    "h": 267.3
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#4061CB
secondary
#D2C395
accent
#BC47E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4061CB

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

Preview Lab → · Contrast checker → · Palette generator →

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