#2A61B8#2A61B8

#2A61B8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.149 H 259.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2A61B8
RGBrgb(42, 97, 184)
HSLhsl(217, 63%, 44%)
HSVhsv(217, 77%, 72%)
CMYKcmyk(77.2%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.00, 13.29, -51.17)
CIE-LCHlch(42.00, 52.87, 284.55°)
OKLaboklab(50.42% -0.0276 -0.1469)
OKLCHoklch(50.42% 0.149 259.4)
XYZxyz(13.8781, 12.5007, 47.0196)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A61B8 #B8812A
analogous
#2AA8B8 #2A61B8 #3A2AB8
triadic
#2A61B8 #B82A61 #61B82A
tetradic
#2A61B8 #B82AA8 #B8812A #2AB83A
square
#2A61B8 #B82AA8 #B8812A #2AB83A
split-complementary
#2A61B8 #B83A2A #A8B82A
monochromatic
#132C54 #1F4786 #2A61B8 #4A80D6 #7BA3E1

Accessibility & contrast

On white

6.00
#2A61B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2A61B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A61B8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A61B8#FFFFFF#000000##FFFFFF
##2A61B81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#075DB6
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a61b8;
/* rgb */ color: rgb(42, 97, 184);
/* oklch */ color: oklch(50.4% 0.149 259.4);
Tailwind
colors: {
  custom: {
    50: '#788dce',
    500: '#2a61b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a61b8;
$custom-light: #788dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a61b8",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 216.761,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50417,
    "c": 0.14947,
    "h": 259.4
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#2A61B8
secondary
#C9A875
accent
#A642E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A61B8

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

Preview Lab → · Contrast checker → · Palette generator →

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