#4061C6#4061C6

#4061C6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.162 H 267.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4061C6
RGBrgb(64, 97, 198)
HSLhsl(225, 54%, 51%)
HSVhsv(225, 68%, 78%)
CMYKcmyk(67.7%, 51%, 0%, 22.4%)
CIE-LABlab(43.82, 21.51, -56.32)
CIE-LCHlch(43.82, 60.29, 290.91°)
OKLaboklab(52.35% -0.0083 -0.1617)
OKLCHoklch(52.35% 0.162 267)
XYZxyz(16.5786, 13.7150, 55.1887)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061C6 #C6A540
analogous
#40A4C6 #4061C6 #6240C6
triadic
#4061C6 #C64061 #61C640
tetradic
#4061C6 #C640A4 #C6A540 #40C662
square
#4061C6 #C640A4 #C6A540 #40C662
split-complementary
#4061C6 #C66240 #A4C640
monochromatic
#20336C #2E499B #4061C6 #6F88D4 #9EAFE2

Accessibility & contrast

On white

5.61
#4061C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4061C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061C6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061C6#FFFFFF#000000##FFFFFF
##4061C61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246ECA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4061c6;
/* rgb */ color: rgb(64, 97, 198);
/* oklch */ color: oklch(52.4% 0.162 267.0);
Tailwind
colors: {
  custom: {
    50: '#848dd8',
    500: '#4061c6',
    950: '#000000',
  },
}
SCSS
$custom: #4061c6;
$custom-light: #848dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4061c6",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 198
  },
  "hsl": {
    "h": 225.224,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.16191,
    "h": 267
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#4061C6
secondary
#CEC093
accent
#B94ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4061C6

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

Preview Lab → · Contrast checker → · Palette generator →

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