#2D61BC#2D61BC

#2D61BC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.154 H 260.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2D61BC
RGBrgb(45, 97, 188)
HSLhsl(218, 61%, 46%)
HSVhsv(218, 76%, 74%)
CMYKcmyk(76.1%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.36, 15.17, -52.91)
CIE-LCHlch(42.36, 55.05, 286.00°)
OKLaboklab(50.81% -0.0249 -0.152)
OKLCHoklch(50.81% 0.154 260.7)
XYZxyz(14.4307, 12.7365, 49.2650)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D61BC #BC882D
analogous
#2DA8BC #2D61BC #412DBC
triadic
#2D61BC #BC2D61 #61BC2D
tetradic
#2D61BC #BC2DA8 #BC882D #2DBC41
square
#2D61BC #BC2DA8 #BC882D #2DBC41
split-complementary
#2D61BC #BC412D #A8BC2D
monochromatic
#152E59 #21488B #2D61BC #5181D5 #82A5E1

Accessibility & contrast

On white

5.92
#2D61BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2D61BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D61BC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D61BC#FFFFFF#000000##FFFFFF
##2D61BC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d61bc;
/* rgb */ color: rgb(45, 97, 188);
/* oklch */ color: oklch(50.8% 0.154 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8dd1',
    500: '#2d61bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d61bc;
$custom-light: #7a8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d61bc",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 218.182,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.15403,
    "h": 260.7
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#2D61BC
secondary
#CAAD7B
accent
#AA43E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2D61BC

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

Preview Lab → · Contrast checker → · Palette generator →

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