#4061C2#4061C2

#4061C2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.156 H 266.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4061C2
RGBrgb(64, 97, 194)
HSLhsl(225, 52%, 51%)
HSVhsv(225, 67%, 76%)
CMYKcmyk(67%, 50%, 0%, 23.9%)
CIE-LABlab(43.56, 20.08, -54.44)
CIE-LCHlch(43.56, 58.02, 290.25°)
OKLaboklab(52.06% -0.0088 -0.1561)
OKLCHoklch(52.06% 0.156 266.8)
XYZxyz(16.1233, 13.5329, 52.7909)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061C2 #C2A140
analogous
#40A2C2 #4061C2 #6040C2
triadic
#4061C2 #C24061 #61C240
tetradic
#4061C2 #C240A2 #C2A140 #40C260
square
#4061C2 #C240A2 #C2A140 #40C260
split-complementary
#4061C2 #C26040 #A2C240
monochromatic
#213367 #304995 #4061C2 #6E87D1 #9DAEE0

Accessibility & contrast

On white

5.67
#4061C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4061C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061C2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061C2#FFFFFF#000000##FFFFFF
##4061C21.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4061c2;
/* rgb */ color: rgb(64, 97, 194);
/* oklch */ color: oklch(52.1% 0.156 266.8);
Tailwind
colors: {
  custom: {
    50: '#838dd5',
    500: '#4061c2',
    950: '#000000',
  },
}
SCSS
$custom: #4061c2;
$custom-light: #838dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4061c2",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 194
  },
  "hsl": {
    "h": 224.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.1564,
    "h": 266.8
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#4061C2
secondary
#CCBD92
accent
#B74DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4061C2

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

Preview Lab → · Contrast checker → · Palette generator →

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