#2B61C6#2B61C6

#2B61C6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.168 H 261.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2B61C6
RGBrgb(43, 97, 198)
HSLhsl(219, 64%, 47%)
HSVhsv(219, 78%, 78%)
CMYKcmyk(78.3%, 51%, 0%, 22.4%)
CIE-LABlab(42.97, 18.75, -57.74)
CIE-LCHlch(42.97, 60.71, 287.99°)
OKLaboklab(51.47% -0.0249 -0.1662)
OKLCHoklch(51.47% 0.168 261.5)
XYZxyz(15.4603, 13.1384, 55.1363)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B61C6 #C6902B
analogous
#2BAEC6 #2B61C6 #432BC6
triadic
#2B61C6 #C62B61 #61C62B
tetradic
#2B61C6 #C62BAE #C6902B #2BC643
square
#2B61C6 #C62BAE #C6902B #2BC643
split-complementary
#2B61C6 #C6432B #AEC62B
monochromatic
#153061 #204894 #2B61C6 #5483DA #87A7E5

Accessibility & contrast

On white

5.79
#2B61C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B61C6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B61C6#FFFFFF#000000##FFFFFF
##2B61C61.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6DCA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b61c6;
/* rgb */ color: rgb(43, 97, 198);
/* oklch */ color: oklch(51.5% 0.168 261.5);
Tailwind
colors: {
  custom: {
    50: '#7c8dd8',
    500: '#2b61c6',
    950: '#000000',
  },
}
SCSS
$custom: #2b61c6;
$custom-light: #7c8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b61c6",
  "rgb": {
    "r": 43,
    "g": 97,
    "b": 198
  },
  "hsl": {
    "h": 219.097,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51468,
    "c": 0.16809,
    "h": 261.5
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#2B61C6
secondary
#CEB27F
accent
#AD40E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2B61C6

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

Preview Lab → · Contrast checker → · Palette generator →

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