#4061A2#4061A2

#4061A2 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 49.9% C 0.111 H 262.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4061A2
RGBrgb(64, 97, 162)
HSLhsl(220, 43%, 44%)
HSVhsv(220, 60%, 64%)
CMYKcmyk(60.5%, 40.1%, 0%, 36.5%)
CIE-LABlab(41.61, 8.71, -38.80)
CIE-LCHlch(41.61, 39.76, 282.65°)
OKLaboklab(49.94% -0.0141 -0.1102)
OKLCHoklch(49.94% 0.111 262.7)
XYZxyz(12.9084, 12.2469, 35.8591)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4061A2 #A28140
analogous
#4092A2 #4061A2 #5040A2
triadic
#4061A2 #A24061 #61A240
tetradic
#4061A2 #A24092 #A28140 #40A250
square
#4061A2 #A24092 #A28140 #40A250
split-complementary
#4061A2 #A25040 #92A240
monochromatic
#1D2C4A #2F4776 #4061A2 #5F80C0 #8BA3D1

Accessibility & contrast

On white

6.09
#4061A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4061A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4061A2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4061A2#FFFFFF#000000##FFFFFF
##4061A21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#007079
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4061a2;
/* rgb */ color: rgb(64, 97, 162);
/* oklch */ color: oklch(49.9% 0.111 262.7);
Tailwind
colors: {
  custom: {
    50: '#7d8dbe',
    500: '#4061a2',
    950: '#000000',
  },
}
SCSS
$custom: #4061a2;
$custom-light: #7d8dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4061a2",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 219.796,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.1111,
    "h": 262.7
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#4061A2
secondary
#BCA882
accent
#A955D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4061A2

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

Preview Lab → · Contrast checker → · Palette generator →

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