#2A61B6#2A61B6

#2A61B6 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.147 H 259.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2A61B6
RGBrgb(42, 97, 182)
HSLhsl(216, 63%, 44%)
HSVhsv(216, 77%, 71%)
CMYKcmyk(76.9%, 46.7%, 0%, 28.6%)
CIE-LABlab(41.87, 12.52, -50.21)
CIE-LCHlch(41.87, 51.74, 284.00°)
OKLaboklab(50.28% -0.0279 -0.1441)
OKLCHoklch(50.28% 0.147 259)
XYZxyz(13.6700, 12.4175, 45.9233)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61B6 #B67F2A
analogous
#2AA7B6 #2A61B6 #392AB6
triadic
#2A61B6 #B62A61 #61B62A
tetradic
#2A61B6 #B62AA7 #B67F2A #2AB639
square
#2A61B6 #B62AA7 #B67F2A #2AB639
split-complementary
#2A61B6 #B6392A #A7B62A
monochromatic
#132C53 #1F4684 #2A61B6 #4880D5 #7AA2E0

Accessibility & contrast

On white

6.03
#2A61B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A61B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61B6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61B6#FFFFFF#000000##FFFFFF
##2A61B61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336AB9
Deuteranopia (green-blind)
#0F5DB4
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a61b6;
/* rgb */ color: rgb(42, 97, 182);
/* oklch */ color: oklch(50.3% 0.147 259.0);
Tailwind
colors: {
  custom: {
    50: '#788dcc',
    500: '#2a61b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a61b6;
$custom-light: #788dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61b6",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 182
  },
  "hsl": {
    "h": 216.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.14676,
    "h": 259
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#2A61B6
secondary
#C8A773
accent
#A542E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A61B6

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

Preview Lab → · Contrast checker → · Palette generator →

#2A61B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva