#2B61BA#2B61BA

#2B61BA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.152 H 259.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2B61BA
RGBrgb(43, 97, 186)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 77%, 73%)
CMYKcmyk(76.9%, 47.8%, 0%, 27.1%)
CIE-LABlab(42.16, 14.17, -52.07)
CIE-LCHlch(42.16, 53.97, 285.22°)
OKLaboklab(50.59% -0.0266 -0.1495)
OKLCHoklch(50.59% 0.152 259.9)
XYZxyz(14.1307, 12.6065, 48.1334)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B61BA #BA842B
analogous
#2BA8BA #2B61BA #3D2BBA
triadic
#2B61BA #BA2B61 #61BA2B
tetradic
#2B61BA #BA2BA8 #BA842B #2BBA3D
square
#2B61BA #BA2BA8 #BA842B #2BBA3D
split-complementary
#2B61BA #BA3D2B #A8BA2B
monochromatic
#142D57 #204788 #2B61BA #4C80D6 #7EA4E1

Accessibility & contrast

On white

5.96
#2B61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2B61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B61BA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B61BA#FFFFFF#000000##FFFFFF
##2B61BA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b61ba;
/* rgb */ color: rgb(43, 97, 186);
/* oklch */ color: oklch(50.6% 0.152 259.9);
Tailwind
colors: {
  custom: {
    50: '#798dcf',
    500: '#2b61ba',
    950: '#000000',
  },
}
SCSS
$custom: #2b61ba;
$custom-light: #798dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b61ba",
  "rgb": {
    "r": 43,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 217.343,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.15189,
    "h": 259.9
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#2B61BA
secondary
#CAAB77
accent
#A842E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2B61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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