#2661BD#2661BD

#2661BD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.157 H 259.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2661BD
RGBrgb(38, 97, 189)
HSLhsl(217, 67%, 45%)
HSVhsv(217, 80%, 74%)
CMYKcmyk(79.9%, 48.7%, 0%, 25.9%)
CIE-LABlab(42.21, 14.77, -53.76)
CIE-LCHlch(42.21, 55.75, 285.36°)
OKLaboklab(50.65% -0.0293 -0.1546)
OKLCHoklch(50.65% 0.157 259.3)
XYZxyz(14.2560, 12.6339, 49.8215)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2661BD #BD8226
analogous
#26ADBD #2661BD #3626BD
triadic
#2661BD #BD2661 #61BD26
tetradic
#2661BD #BD26AD #BD8226 #26BD36
square
#2661BD #BD26AD #BD8226 #26BD36
split-complementary
#2661BD #BD3626 #ADBD26
monochromatic
#122D57 #1C478A #2661BD #4680DA #79A3E4

Accessibility & contrast

On white

5.95
#2661BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2661BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2661BD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2661BD#FFFFFF#000000##FFFFFF
##2661BD1.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)
#2B6BC0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2661bd;
/* rgb */ color: rgb(38, 97, 189);
/* oklch */ color: oklch(50.6% 0.157 259.3);
Tailwind
colors: {
  custom: {
    50: '#788dd1',
    500: '#2661bd',
    950: '#000000',
  },
}
SCSS
$custom: #2661bd;
$custom-light: #788dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2661bd",
  "rgb": {
    "r": 38,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 216.556,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.15734,
    "h": 259.3
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#2661BD
secondary
#CCA973
accent
#A73EE9
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2661BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2661BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva