#2D61CC#2D61CC

#2D61CC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.0% C 0.176 H 262.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2D61CC
RGBrgb(45, 97, 204)
HSLhsl(220, 64%, 49%)
HSVhsv(220, 78%, 80%)
CMYKcmyk(77.9%, 52.5%, 0%, 20%)
CIE-LABlab(43.46, 21.25, -60.41)
CIE-LCHlch(43.46, 64.04, 289.38°)
OKLaboklab(51.99% -0.0229 -0.1741)
OKLCHoklch(51.99% 0.176 262.5)
XYZxyz(16.2521, 13.4650, 58.8575)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61CC #CC982D
analogous
#2DB1CC #2D61CC #492DCC
triadic
#2D61CC #CC2D61 #61CC2D
tetradic
#2D61CC #CC2DB1 #CC982D #2DCC49
square
#2D61CC #CC2DB1 #CC982D #2DCC49
split-complementary
#2D61CC #CC492D #B1CC2D
monochromatic
#173168 #22499A #2D61CC #5B85DB #8DAAE6

Accessibility & contrast

On white

5.69
#2D61CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2D61CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61CC#FFFFFF#000000##FFFFFF
##2D61CC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ED0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d61cc;
/* rgb */ color: rgb(45, 97, 204);
/* oklch */ color: oklch(52.0% 0.176 262.5);
Tailwind
colors: {
  custom: {
    50: '#7e8ddc',
    500: '#2d61cc',
    950: '#000000',
  },
}
SCSS
$custom: #2d61cc;
$custom-light: #7e8ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61cc",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 220.377,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.17556,
    "h": 262.5
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#2D61CC
secondary
#D0B785
accent
#B141E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2D61CC

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

Preview Lab → · Contrast checker → · Palette generator →

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