#2661B7#2661B7

#2661B7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.149 H 258.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2661B7
RGBrgb(38, 97, 183)
HSLhsl(216, 66%, 43%)
HSVhsv(216, 79%, 72%)
CMYKcmyk(79.2%, 47%, 0%, 28.2%)
CIE-LABlab(41.81, 12.45, -50.90)
CIE-LCHlch(41.81, 52.40, 283.74°)
OKLaboklab(50.22% -0.0302 -0.1462)
OKLCHoklch(50.22% 0.149 258.3)
XYZxyz(13.6181, 12.3787, 46.4622)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2661B7 #B77C26
analogous
#26A9B7 #2661B7 #3326B7
triadic
#2661B7 #B72661 #61B726
tetradic
#2661B7 #B726A9 #B77C26 #26B733
square
#2661B7 #B726A9 #B77C26 #26B733
split-complementary
#2661B7 #B73326 #A9B726
monochromatic
#112B52 #1B4684 #2661B7 #427FD8 #75A2E2

Accessibility & contrast

On white

6.04
#2661B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2661B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2661B7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2661B7#FFFFFF#000000##FFFFFF
##2661B71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#075DB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2661b7;
/* rgb */ color: rgb(38, 97, 183);
/* oklch */ color: oklch(50.2% 0.149 258.3);
Tailwind
colors: {
  custom: {
    50: '#778dcd',
    500: '#2661b7',
    950: '#000000',
  },
}
SCSS
$custom: #2661b7;
$custom-light: #778dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2661b7",
  "rgb": {
    "r": 38,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 215.586,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.14926,
    "h": 258.3
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#2661B7
secondary
#CAA56F
accent
#A43FE9
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2661B7

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

Preview Lab → · Contrast checker → · Palette generator →

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