#4061B8#4061B8

#4061B8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.142 H 265.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4061B8
RGBrgb(64, 97, 184)
HSLhsl(224, 48%, 49%)
HSVhsv(224, 65%, 72%)
CMYKcmyk(65.2%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.91, 16.50, -49.66)
CIE-LCHlch(42.91, 52.33, 288.38°)
OKLaboklab(51.37% -0.0101 -0.1421)
OKLCHoklch(51.37% 0.142 265.9)
XYZxyz(15.0378, 13.0987, 47.0739)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061B8 #B89740
analogous
#409DB8 #4061B8 #5B40B8
triadic
#4061B8 #B84061 #61B840
tetradic
#4061B8 #B8409D #B89740 #40B85B
square
#4061B8 #B8409D #B89740 #40B85B
split-complementary
#4061B8 #B85B40 #9DB840
monochromatic
#20315D #30498B #4061B8 #6A85CB #97AADB

Accessibility & contrast

On white

5.80
#4061B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4061B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061B8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061B8#FFFFFF#000000##FFFFFF
##4061B81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBB
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4061b8;
/* rgb */ color: rgb(64, 97, 184);
/* oklch */ color: oklch(51.4% 0.142 265.9);
Tailwind
colors: {
  custom: {
    50: '#818dce',
    500: '#4061b8',
    950: '#000000',
  },
}
SCSS
$custom: #4061b8;
$custom-light: #818dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4061b8",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 223.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.14245,
    "h": 265.9
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#4061B8
secondary
#C7B78D
accent
#B350D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4061B8

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

Preview Lab → · Contrast checker → · Palette generator →

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