#2A61C7#2A61C7

#2A61C7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.170 H 261.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2A61C7
RGBrgb(42, 97, 199)
HSLhsl(219, 65%, 47%)
HSVhsv(219, 79%, 78%)
CMYKcmyk(78.9%, 51.3%, 0%, 22%)
CIE-LABlab(43.01, 19.03, -58.26)
CIE-LCHlch(43.01, 61.29, 288.09°)
OKLaboklab(51.51% -0.0254 -0.1678)
OKLCHoklch(51.51% 0.17 261.4)
XYZxyz(15.5346, 13.1633, 55.7438)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61C7 #C7902A
analogous
#2AAFC7 #2A61C7 #422AC7
triadic
#2A61C7 #C72A61 #61C72A
tetradic
#2A61C7 #C72AAF #C7902A #2AC742
square
#2A61C7 #C72AAF #C7902A #2AC742
split-complementary
#2A61C7 #C7422A #AFC72A
monochromatic
#153062 #1F4894 #2A61C7 #5383DB #86A7E5

Accessibility & contrast

On white

5.78
#2A61C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2A61C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61C7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61C7#FFFFFF#000000##FFFFFF
##2A61C71.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a61c7;
/* rgb */ color: rgb(42, 97, 199);
/* oklch */ color: oklch(51.5% 0.170 261.4);
Tailwind
colors: {
  custom: {
    50: '#7c8dd9',
    500: '#2a61c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a61c7;
$custom-light: #7c8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61c7",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 199
  },
  "hsl": {
    "h": 218.981,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.16969,
    "h": 261.4
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#2A61C7
secondary
#CFB27E
accent
#AD40E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A61C7

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

Preview Lab → · Contrast checker → · Palette generator →

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