#2C61B8#2C61B8

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

Color values

HEX#2C61B8
RGBrgb(44, 97, 184)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 76%, 72%)
CMYKcmyk(76.1%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.07, 13.53, -51.06)
CIE-LCHlch(42.07, 52.82, 284.84°)
OKLaboklab(50.49% -0.0262 -0.1466)
OKLCHoklch(50.49% 0.149 259.9)
XYZxyz(13.9620, 12.5440, 47.0235)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C61B8 #B8832C
analogous
#2CA7B8 #2C61B8 #3D2CB8
triadic
#2C61B8 #B82C61 #61B82C
tetradic
#2C61B8 #B82CA7 #B8832C #2CB83D
square
#2C61B8 #B82CA7 #B8832C #2CB83D
split-complementary
#2C61B8 #B83D2C #A7B82C
monochromatic
#142D55 #204787 #2C61B8 #4D80D4 #7EA3E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C61B8#FFFFFF#000000##FFFFFF
##2C61B81.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)
#095DB6
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c61b8;
/* rgb */ color: rgb(44, 97, 184);
/* oklch */ color: oklch(50.5% 0.149 259.9);
Tailwind
colors: {
  custom: {
    50: '#798dce',
    500: '#2c61b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c61b8;
$custom-light: #798dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c61b8",
  "rgb": {
    "r": 44,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 217.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.14888,
    "h": 259.9
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#2C61B8
secondary
#C9AA77
accent
#A743E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2C61B8

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

Preview Lab → · Contrast checker → · Palette generator →

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