#2B61B8#2B61B8

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

Color values

HEX#2B61B8
RGBrgb(43, 97, 184)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 77%, 72%)
CMYKcmyk(76.6%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.03, 13.40, -51.11)
CIE-LCHlch(42.03, 52.84, 284.69°)
OKLaboklab(50.45% -0.0269 -0.1467)
OKLCHoklch(50.45% 0.149 259.6)
XYZxyz(13.9195, 12.5221, 47.0215)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B61B8 #B8822B
analogous
#2BA8B8 #2B61B8 #3B2BB8
triadic
#2B61B8 #B82B61 #61B82B
tetradic
#2B61B8 #B82BA8 #B8822B #2BB83B
square
#2B61B8 #B82BA8 #B8822B #2BB83B
split-complementary
#2B61B8 #B83B2B #A8B82B
monochromatic
#142D55 #1F4786 #2B61B8 #4B80D5 #7DA3E1

Accessibility & contrast

On white

5.99
#2B61B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B61B8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B61B8#FFFFFF#000000##FFFFFF
##2B61B81.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b61b8;
/* rgb */ color: rgb(43, 97, 184);
/* oklch */ color: oklch(50.5% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#798dce',
    500: '#2b61b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b61b8;
$custom-light: #798dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b61b8",
  "rgb": {
    "r": 43,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 217.021,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50451,
    "c": 0.14918,
    "h": 259.6
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#2B61B8
secondary
#C9A976
accent
#A743E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2B61B8

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

Preview Lab → · Contrast checker → · Palette generator →

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