#2D61B6#2D61B6

#2D61B6 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.146 H 259.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2D61B6
RGBrgb(45, 97, 182)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 71%)
CMYKcmyk(75.3%, 46.7%, 0%, 28.6%)
CIE-LABlab(41.97, 12.89, -50.04)
CIE-LCHlch(41.97, 51.67, 284.45°)
OKLaboklab(50.38% -0.0259 -0.1435)
OKLCHoklch(50.38% 0.146 259.8)
XYZxyz(13.7973, 12.4831, 45.9292)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61B6 #B6822D
analogous
#2DA6B6 #2D61B6 #3E2DB6
triadic
#2D61B6 #B62D61 #61B62D
tetradic
#2D61B6 #B62DA6 #B6822D #2DB63E
square
#2D61B6 #B62DA6 #B6822D #2DB63E
split-complementary
#2D61B6 #B63E2D #A6B62D
monochromatic
#152D54 #214785 #2D61B6 #4D80D3 #7EA3DF

Accessibility & contrast

On white

6.01
#2D61B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2D61B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61B6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61B6#FFFFFF#000000##FFFFFF
##2D61B61.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346AB9
Deuteranopia (green-blind)
#125DB4
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d61b6;
/* rgb */ color: rgb(45, 97, 182);
/* oklch */ color: oklch(50.4% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#798dcc',
    500: '#2d61b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d61b6;
$custom-light: #798dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61b6",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 182
  },
  "hsl": {
    "h": 217.226,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.14585,
    "h": 259.8
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#2D61B6
secondary
#C8A977
accent
#A744E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D61B6

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

Preview Lab → · Contrast checker → · Palette generator →

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