#4061B2#4061B2

#4061B2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.134 H 265.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4061B2
RGBrgb(64, 97, 178)
HSLhsl(223, 47%, 47%)
HSVhsv(223, 64%, 70%)
CMYKcmyk(64%, 45.5%, 0%, 30.2%)
CIE-LABlab(42.54, 14.36, -46.74)
CIE-LCHlch(42.54, 48.90, 287.08°)
OKLaboklab(50.96% -0.011 -0.1335)
OKLCHoklch(50.96% 0.134 265.3)
XYZxyz(14.4221, 12.8524, 43.8316)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061B2 #B29140
analogous
#409AB2 #4061B2 #5840B2
triadic
#4061B2 #B24061 #61B240
tetradic
#4061B2 #B2409A #B29140 #40B258
square
#4061B2 #B2409A #B29140 #40B258
split-complementary
#4061B2 #B25840 #9AB240
monochromatic
#203058 #304885 #4061B2 #6783C8 #94A8D8

Accessibility & contrast

On white

5.88
#4061B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4061B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061B2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061B2#FFFFFF#000000##FFFFFF
##4061B21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4061b2;
/* rgb */ color: rgb(64, 97, 178);
/* oklch */ color: oklch(51.0% 0.134 265.3);
Tailwind
colors: {
  custom: {
    50: '#808dc9',
    500: '#4061b2',
    950: '#000000',
  },
}
SCSS
$custom: #4061b2;
$custom-light: #808dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4061b2",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 222.632,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50962,
    "c": 0.13397,
    "h": 265.3
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#4061B2
secondary
#C4B38A
accent
#B051D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4061B2

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

Preview Lab → · Contrast checker → · Palette generator →

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