#2D61B8#2D61B8

#2D61B8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.149 H 260.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2D61B8
RGBrgb(45, 97, 184)
HSLhsl(218, 61%, 45%)
HSVhsv(218, 76%, 72%)
CMYKcmyk(75.5%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.10, 13.65, -51.00)
CIE-LCHlch(42.10, 52.80, 284.98°)
OKLaboklab(50.52% -0.0255 -0.1464)
OKLCHoklch(50.52% 0.149 260.1)
XYZxyz(14.0055, 12.5664, 47.0255)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61B8 #B8842D
analogous
#2DA7B8 #2D61B8 #3E2DB8
triadic
#2D61B8 #B82D61 #61B82D
tetradic
#2D61B8 #B82DA7 #B8842D #2DB83E
square
#2D61B8 #B82DA7 #B8842D #2DB83E
split-complementary
#2D61B8 #B83E2D #A7B82D
monochromatic
#152D56 #214787 #2D61B8 #4E80D4 #80A4E0

Accessibility & contrast

On white

5.98
#2D61B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D61B8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61B8#FFFFFF#000000##FFFFFF
##2D61B81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#0B5DB6
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d61b8;
/* rgb */ color: rgb(45, 97, 184);
/* oklch */ color: oklch(50.5% 0.149 260.1);
Tailwind
colors: {
  custom: {
    50: '#798dce',
    500: '#2d61b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d61b8;
$custom-light: #798dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61b8",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 217.554,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.14858,
    "h": 260.1
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#2D61B8
secondary
#C9AB78
accent
#A844E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2D61B8

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

Preview Lab → · Contrast checker → · Palette generator →

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