#2D61B3#2D61B3

#2D61B3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.142 H 259.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2D61B3
RGBrgb(45, 97, 179)
HSLhsl(217, 60%, 44%)
HSVhsv(217, 75%, 70%)
CMYKcmyk(74.9%, 45.8%, 0%, 29.8%)
CIE-LABlab(41.78, 11.75, -48.59)
CIE-LCHlch(41.78, 49.99, 283.60°)
OKLaboklab(50.18% -0.0264 -0.1393)
OKLCHoklch(50.18% 0.142 259.3)
XYZxyz(13.4906, 12.3604, 44.3139)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61B3 #B37F2D
analogous
#2DA4B3 #2D61B3 #3C2DB3
triadic
#2D61B3 #B32D61 #61B32D
tetradic
#2D61B3 #B32DA4 #B37F2D #2DB33C
square
#2D61B3 #B32DA4 #B37F2D #2DB33C
split-complementary
#2D61B3 #B33C2D #A4B32D
monochromatic
#142C51 #214682 #2D61B3 #4B80D2 #7CA2DE

Accessibility & contrast

On white

6.05
#2D61B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2D61B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61B3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61B3#FFFFFF#000000##FFFFFF
##2D61B31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#195DB1
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d61b3;
/* rgb */ color: rgb(45, 97, 179);
/* oklch */ color: oklch(50.2% 0.142 259.3);
Tailwind
colors: {
  custom: {
    50: '#788dca',
    500: '#2d61b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d61b3;
$custom-light: #788dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61b3",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 216.716,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.14175,
    "h": 259.3
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#2D61B3
secondary
#C7A775
accent
#A645E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D61B3

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

Preview Lab → · Contrast checker → · Palette generator →

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