#2C61B7#2C61B7

#2C61B7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.148 H 259.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2C61B7
RGBrgb(44, 97, 183)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 76%, 72%)
CMYKcmyk(76%, 47%, 0%, 28.2%)
CIE-LABlab(42.00, 13.14, -50.58)
CIE-LCHlch(42.00, 52.26, 284.57°)
OKLaboklab(50.42% -0.0264 -0.1451)
OKLCHoklch(50.42% 0.148 259.7)
XYZxyz(13.8575, 12.5022, 46.4734)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C61B7 #B7822C
analogous
#2CA7B7 #2C61B7 #3C2CB7
triadic
#2C61B7 #B72C61 #61B72C
tetradic
#2C61B7 #B72CA7 #B7822C #2CB73C
square
#2C61B7 #B72CA7 #B7822C #2CB73C
split-complementary
#2C61B7 #B73C2C #A7B72C
monochromatic
#142D54 #204786 #2C61B7 #4C80D4 #7EA3E0

Accessibility & contrast

On white

6.00
#2C61B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2C61B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C61B7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C61B7#FFFFFF#000000##FFFFFF
##2C61B71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#0D5DB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c61b7;
/* rgb */ color: rgb(44, 97, 183);
/* oklch */ color: oklch(50.4% 0.148 259.7);
Tailwind
colors: {
  custom: {
    50: '#798dcd',
    500: '#2c61b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c61b7;
$custom-light: #798dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c61b7",
  "rgb": {
    "r": 44,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 217.122,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.14752,
    "h": 259.7
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#2C61B7
secondary
#C8A976
accent
#A743E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C61B7

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

Preview Lab → · Contrast checker → · Palette generator →

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