#2D61B1#2D61B1

#2D61B1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.0% C 0.139 H 258.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2D61B1
RGBrgb(45, 97, 177)
HSLhsl(216, 59%, 44%)
HSVhsv(216, 75%, 69%)
CMYKcmyk(74.6%, 45.2%, 0%, 30.6%)
CIE-LABlab(41.66, 10.99, -47.62)
CIE-LCHlch(41.66, 48.87, 283.00°)
OKLaboklab(50.04% -0.0268 -0.1364)
OKLCHoklch(50.04% 0.139 258.9)
XYZxyz(13.2898, 12.2801, 43.2563)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61B1 #B17D2D
analogous
#2DA3B1 #2D61B1 #3B2DB1
triadic
#2D61B1 #B12D61 #61B12D
tetradic
#2D61B1 #B12DA3 #B17D2D #2DB13B
square
#2D61B1 #B12DA3 #B17D2D #2DB13B
split-complementary
#2D61B1 #B13B2D #A3B12D
monochromatic
#142C4F #214680 #2D61B1 #4A7FD1 #7BA2DD

Accessibility & contrast

On white

6.08
#2D61B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2D61B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61B1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61B1#FFFFFF#000000##FFFFFF
##2D61B11.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#1D5DAF
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d61b1;
/* rgb */ color: rgb(45, 97, 177);
/* oklch */ color: oklch(50.0% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#788dc9',
    500: '#2d61b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d61b1;
$custom-light: #788dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61b1",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 177
  },
  "hsl": {
    "h": 216.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.13901,
    "h": 258.9
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#2D61B1
secondary
#C6A674
accent
#A545E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D61B1

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

Preview Lab → · Contrast checker → · Palette generator →

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