#2A61B4#2A61B4

#2A61B4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.144 H 258.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2A61B4
RGBrgb(42, 97, 180)
HSLhsl(216, 62%, 44%)
HSVhsv(216, 77%, 71%)
CMYKcmyk(76.7%, 46.1%, 0%, 29.4%)
CIE-LABlab(41.74, 11.75, -49.24)
CIE-LCHlch(41.74, 50.63, 283.42°)
OKLaboklab(50.14% -0.0282 -0.1412)
OKLCHoklch(50.14% 0.144 258.7)
XYZxyz(13.4648, 12.3354, 44.8425)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61B4 #B47D2A
analogous
#2AA6B4 #2A61B4 #382AB4
triadic
#2A61B4 #B42A61 #61B42A
tetradic
#2A61B4 #B42AA6 #B47D2A #2AB438
square
#2A61B4 #B42AA6 #B47D2A #2AB438
split-complementary
#2A61B4 #B4382A #A6B42A
monochromatic
#132C51 #1E4682 #2A61B4 #477FD4 #79A2E0

Accessibility & contrast

On white

6.06
#2A61B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A61B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61B4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61B4#FFFFFF#000000##FFFFFF
##2A61B41.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#155DB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a61b4;
/* rgb */ color: rgb(42, 97, 180);
/* oklch */ color: oklch(50.1% 0.144 258.7);
Tailwind
colors: {
  custom: {
    50: '#778dcb',
    500: '#2a61b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a61b4;
$custom-light: #778dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61b4",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 180
  },
  "hsl": {
    "h": 216.087,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.14404,
    "h": 258.7
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

primary
#2A61B4
secondary
#C8A672
accent
#A443E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A61B4

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

Preview Lab → · Contrast checker → · Palette generator →

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