#2B61BB#2B61BB

#2B61BB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.153 H 260.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2B61BB
RGBrgb(43, 97, 187)
HSLhsl(218, 63%, 45%)
HSVhsv(218, 77%, 73%)
CMYKcmyk(77%, 48.1%, 0%, 26.7%)
CIE-LABlab(42.23, 14.55, -52.55)
CIE-LCHlch(42.23, 54.53, 285.48°)
OKLaboklab(50.67% -0.0264 -0.151)
OKLCHoklch(50.67% 0.153 260.1)
XYZxyz(14.2373, 12.6492, 48.6953)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B61BB #BB852B
analogous
#2BA9BB #2B61BB #3D2BBB
triadic
#2B61BB #BB2B61 #61BB2B
tetradic
#2B61BB #BB2BA9 #BB852B #2BBB3D
square
#2B61BB #BB2BA9 #BB852B #2BBB3D
split-complementary
#2B61BB #BB3D2B #A9BB2B
monochromatic
#142D57 #204789 #2B61BB #4D80D6 #7FA4E2

Accessibility & contrast

On white

5.95
#2B61BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2B61BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B61BB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B61BB#FFFFFF#000000##FFFFFF
##2B61BB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b61bb;
/* rgb */ color: rgb(43, 97, 187);
/* oklch */ color: oklch(50.7% 0.153 260.1);
Tailwind
colors: {
  custom: {
    50: '#798dd0',
    500: '#2b61bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b61bb;
$custom-light: #798dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b61bb",
  "rgb": {
    "r": 43,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 217.5,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.15325,
    "h": 260.1
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#2B61BB
secondary
#CAAB78
accent
#A842E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2B61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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