#2A61C1#2A61C1

#2A61C1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.162 H 260.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A61C1
RGBrgb(42, 97, 193)
HSLhsl(218, 64%, 46%)
HSVhsv(218, 78%, 76%)
CMYKcmyk(78.2%, 49.7%, 0%, 24.3%)
CIE-LABlab(42.60, 16.73, -55.45)
CIE-LCHlch(42.60, 57.92, 286.79°)
OKLaboklab(51.07% -0.0262 -0.1595)
OKLCHoklch(51.07% 0.162 260.7)
XYZxyz(14.8517, 12.8901, 52.1470)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61C1 #C18A2A
analogous
#2AACC1 #2A61C1 #3F2AC1
triadic
#2A61C1 #C12A61 #61C12A
tetradic
#2A61C1 #C12AAC #C18A2A #2AC13F
square
#2A61C1 #C12AAC #C18A2A #2AC13F
split-complementary
#2A61C1 #C13F2A #ACC12A
monochromatic
#142E5C #1F488F #2A61C1 #4F81D9 #82A5E4

Accessibility & contrast

On white

5.87
#2A61C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2A61C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61C1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61C1#FFFFFF#000000##FFFFFF
##2A61C11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276CC4
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a61c1;
/* rgb */ color: rgb(42, 97, 193);
/* oklch */ color: oklch(51.1% 0.162 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8dd4',
    500: '#2a61c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a61c1;
$custom-light: #7a8dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61c1",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 193
  },
  "hsl": {
    "h": 218.146,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.16164,
    "h": 260.7
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#2A61C1
secondary
#CDAF7A
accent
#AB41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2A61C1

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

Preview Lab → · Contrast checker → · Palette generator →

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