#2A61BC#2A61BC

#2A61BC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.155 H 260.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2A61BC
RGBrgb(42, 97, 188)
HSLhsl(217, 63%, 45%)
HSVhsv(217, 78%, 74%)
CMYKcmyk(77.7%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.26, 14.82, -53.08)
CIE-LCHlch(42.26, 55.11, 285.60°)
OKLaboklab(50.7% -0.0269 -0.1525)
OKLCHoklch(50.7% 0.155 260)
XYZxyz(14.3033, 12.6708, 49.2591)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61BC #BC852A
analogous
#2AAABC #2A61BC #3C2ABC
triadic
#2A61BC #BC2A61 #61BC2A
tetradic
#2A61BC #BC2AAA #BC852A #2ABC3C
square
#2A61BC #BC2AAA #BC852A #2ABC3C
split-complementary
#2A61BC #BC3C2A #AABC2A
monochromatic
#142D58 #1F478A #2A61BC #4C80D7 #7EA4E2

Accessibility & contrast

On white

5.94
#2A61BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2A61BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61BC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61BC#FFFFFF#000000##FFFFFF
##2A61BC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a61bc;
/* rgb */ color: rgb(42, 97, 188);
/* oklch */ color: oklch(50.7% 0.155 260.0);
Tailwind
colors: {
  custom: {
    50: '#798dd1',
    500: '#2a61bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a61bc;
$custom-light: #798dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61bc",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 217.397,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.15489,
    "h": 260
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#2A61BC
secondary
#CBAB77
accent
#A841E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2A61BC

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

Preview Lab → · Contrast checker → · Palette generator →

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