#2D61C1#2D61C1

#2D61C1 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.161 H 261.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2D61C1
RGBrgb(45, 97, 193)
HSLhsl(219, 62%, 47%)
HSVhsv(219, 77%, 76%)
CMYKcmyk(76.7%, 49.7%, 0%, 24.3%)
CIE-LABlab(42.70, 17.07, -55.28)
CIE-LCHlch(42.70, 57.86, 287.16°)
OKLaboklab(51.17% -0.0242 -0.159)
OKLCHoklch(51.17% 0.161 261.3)
XYZxyz(14.9791, 12.9558, 52.1530)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61C1 #C18D2D
analogous
#2DABC1 #2D61C1 #432DC1
triadic
#2D61C1 #C12D61 #61C12D
tetradic
#2D61C1 #C12DAB #C18D2D #2DC143
square
#2D61C1 #C12DAB #C18D2D #2DC143
split-complementary
#2D61C1 #C1432D #ABC12D
monochromatic
#162F5E #21488F #2D61C1 #5482D7 #86A6E3

Accessibility & contrast

On white

5.85
#2D61C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2D61C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61C1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61C1#FFFFFF#000000##FFFFFF
##2D61C11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276CC4
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d61c1;
/* rgb */ color: rgb(45, 97, 193);
/* oklch */ color: oklch(51.2% 0.161 261.3);
Tailwind
colors: {
  custom: {
    50: '#7b8dd4',
    500: '#2d61c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d61c1;
$custom-light: #7b8dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61c1",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 193
  },
  "hsl": {
    "h": 218.919,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.1608,
    "h": 261.3
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#2D61C1
secondary
#CCB17E
accent
#AC43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D61C1

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

Preview Lab → · Contrast checker → · Palette generator →

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