#2A61B1#2A61B1

#2A61B1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.140 H 258.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2A61B1
RGBrgb(42, 97, 177)
HSLhsl(216, 62%, 43%)
HSVhsv(216, 76%, 69%)
CMYKcmyk(76.3%, 45.2%, 0%, 30.6%)
CIE-LABlab(41.55, 10.60, -47.79)
CIE-LCHlch(41.55, 48.95, 282.51°)
OKLaboklab(49.93% -0.0288 -0.137)
OKLCHoklch(49.93% 0.14 258.1)
XYZxyz(13.1624, 12.2145, 43.2504)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61B1 #B17A2A
analogous
#2AA4B1 #2A61B1 #372AB1
triadic
#2A61B1 #B12A61 #61B12A
tetradic
#2A61B1 #B12AA4 #B17A2A #2AB137
square
#2A61B1 #B12AA4 #B17A2A #2AB137
split-complementary
#2A61B1 #B1372A #A4B12A
monochromatic
#132B4E #1E4680 #2A61B1 #457FD3 #77A1DF

Accessibility & contrast

On white

6.10
#2A61B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2A61B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61B1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61B1#FFFFFF#000000##FFFFFF
##2A61B11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a61b1;
/* rgb */ color: rgb(42, 97, 177);
/* oklch */ color: oklch(49.9% 0.140 258.1);
Tailwind
colors: {
  custom: {
    50: '#778dc9',
    500: '#2a61b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a61b1;
$custom-light: #778dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61b1",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 177
  },
  "hsl": {
    "h": 215.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49929,
    "c": 0.13996,
    "h": 258.1
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#2A61B1
secondary
#C6A370
accent
#A343E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A61B1

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

Preview Lab → · Contrast checker → · Palette generator →

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