#2A61B7#2A61B7

#2A61B7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.148 H 259.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2A61B7
RGBrgb(42, 97, 183)
HSLhsl(217, 63%, 44%)
HSVhsv(217, 77%, 72%)
CMYKcmyk(77%, 47%, 0%, 28.2%)
CIE-LABlab(41.94, 12.90, -50.69)
CIE-LCHlch(41.94, 52.31, 284.28°)
OKLaboklab(50.35% -0.0277 -0.1455)
OKLCHoklch(50.35% 0.148 259.2)
XYZxyz(13.7737, 12.4589, 46.4695)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61B7 #B7802A
analogous
#2AA8B7 #2A61B7 #3A2AB7
triadic
#2A61B7 #B72A61 #61B72A
tetradic
#2A61B7 #B72AA8 #B7802A #2AB73A
square
#2A61B7 #B72AA8 #B7802A #2AB73A
split-complementary
#2A61B7 #B73A2A #A8B72A
monochromatic
#132C53 #1F4785 #2A61B7 #4980D5 #7BA2E1

Accessibility & contrast

On white

6.01
#2A61B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2A61B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61B7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61B7#FFFFFF#000000##FFFFFF
##2A61B71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#0B5DB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a61b7;
/* rgb */ color: rgb(42, 97, 183);
/* oklch */ color: oklch(50.3% 0.148 259.2);
Tailwind
colors: {
  custom: {
    50: '#788dcd',
    500: '#2a61b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a61b7;
$custom-light: #788dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61b7",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 216.596,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.14812,
    "h": 259.2
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#2A61B7
secondary
#C9A874
accent
#A642E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A61B7

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

Preview Lab → · Contrast checker → · Palette generator →

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