#2C61B9#2C61B9

#2C61B9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.150 H 260.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2C61B9
RGBrgb(44, 97, 185)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 76%, 73%)
CMYKcmyk(76.2%, 47.6%, 0%, 27.5%)
CIE-LABlab(42.13, 13.91, -51.54)
CIE-LCHlch(42.13, 53.38, 285.10°)
OKLaboklab(50.56% -0.0261 -0.148)
OKLCHoklch(50.56% 0.15 260)
XYZxyz(14.0672, 12.5860, 47.5775)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C61B9 #B9842C
analogous
#2CA7B9 #2C61B9 #3E2CB9
triadic
#2C61B9 #B92C61 #61B92C
tetradic
#2C61B9 #B92CA7 #B9842C #2CB93E
square
#2C61B9 #B92CA7 #B9842C #2CB93E
split-complementary
#2C61B9 #B93E2C #A7B92C
monochromatic
#142D56 #204788 #2C61B9 #4D80D5 #7FA4E1

Accessibility & contrast

On white

5.97
#2C61B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2C61B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C61B9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C61B9#FFFFFF#000000##FFFFFF
##2C61B91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316ABC
Deuteranopia (green-blind)
#055DB7
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c61b9;
/* rgb */ color: rgb(44, 97, 185);
/* oklch */ color: oklch(50.6% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#798dcf',
    500: '#2c61b9',
    950: '#000000',
  },
}
SCSS
$custom: #2c61b9;
$custom-light: #798dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c61b9",
  "rgb": {
    "r": 44,
    "g": 97,
    "b": 185
  },
  "hsl": {
    "h": 217.447,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.15024,
    "h": 260
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C61B9

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

Preview Lab → · Contrast checker → · Palette generator →

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