#2D61B7#2D61B7

#2D61B7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.147 H 259.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2D61B7
RGBrgb(45, 97, 183)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 75%, 72%)
CMYKcmyk(75.4%, 47%, 0%, 28.2%)
CIE-LABlab(42.04, 13.27, -50.52)
CIE-LCHlch(42.04, 52.23, 284.72°)
OKLaboklab(50.45% -0.0257 -0.145)
OKLCHoklch(50.45% 0.147 259.9)
XYZxyz(13.9010, 12.5246, 46.4754)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61B7 #B7832D
analogous
#2DA6B7 #2D61B7 #3E2DB7
triadic
#2D61B7 #B72D61 #61B72D
tetradic
#2D61B7 #B72DA6 #B7832D #2DB73E
square
#2D61B7 #B72DA6 #B7832D #2DB73E
split-complementary
#2D61B7 #B73E2D #A6B72D
monochromatic
#152D55 #214786 #2D61B7 #4E80D3 #7FA3DF

Accessibility & contrast

On white

5.99
#2D61B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2D61B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61B7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61B7#FFFFFF#000000##FFFFFF
##2D61B71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#0E5DB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d61b7;
/* rgb */ color: rgb(45, 97, 183);
/* oklch */ color: oklch(50.5% 0.147 259.9);
Tailwind
colors: {
  custom: {
    50: '#798dcd',
    500: '#2d61b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d61b7;
$custom-light: #798dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61b7",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 217.391,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.14722,
    "h": 259.9
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#2D61B7
secondary
#C8AA78
accent
#A844E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D61B7

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

Preview Lab → · Contrast checker → · Palette generator →

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