#2C61B4#2C61B4

#2C61B4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.143 H 259.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2C61B4
RGBrgb(44, 97, 180)
HSLhsl(217, 61%, 44%)
HSVhsv(217, 76%, 71%)
CMYKcmyk(75.6%, 46.1%, 0%, 29.4%)
CIE-LABlab(41.81, 12.00, -49.13)
CIE-LCHlch(41.81, 50.57, 283.73°)
OKLaboklab(50.21% -0.0269 -0.1409)
OKLCHoklch(50.21% 0.143 259.2)
XYZxyz(13.5486, 12.3786, 44.8464)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C61B4 #B47F2C
analogous
#2CA5B4 #2C61B4 #3B2CB4
triadic
#2C61B4 #B42C61 #61B42C
tetradic
#2C61B4 #B42CA5 #B47F2C #2CB43B
square
#2C61B4 #B42CA5 #B47F2C #2CB43B
split-complementary
#2C61B4 #B43B2C #A5B42C
monochromatic
#142C52 #204683 #2C61B4 #4A80D3 #7CA2DF

Accessibility & contrast

On white

6.04
#2C61B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C61B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C61B4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C61B4#FFFFFF#000000##FFFFFF
##2C61B41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#165DB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c61b4;
/* rgb */ color: rgb(44, 97, 180);
/* oklch */ color: oklch(50.2% 0.143 259.2);
Tailwind
colors: {
  custom: {
    50: '#788dcb',
    500: '#2c61b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c61b4;
$custom-light: #788dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c61b4",
  "rgb": {
    "r": 44,
    "g": 97,
    "b": 180
  },
  "hsl": {
    "h": 216.618,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.14343,
    "h": 259.2
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#2C61B4
secondary
#C7A775
accent
#A644E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C61B4

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

Preview Lab → · Contrast checker → · Palette generator →

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