#2C61B5#2C61B5

#2C61B5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.145 H 259.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2C61B5
RGBrgb(44, 97, 181)
HSLhsl(217, 61%, 44%)
HSVhsv(217, 76%, 71%)
CMYKcmyk(75.7%, 46.4%, 0%, 29%)
CIE-LABlab(41.88, 12.38, -49.61)
CIE-LCHlch(41.88, 51.14, 284.01°)
OKLaboklab(50.28% -0.0267 -0.1423)
OKLCHoklch(50.28% 0.145 259.4)
XYZxyz(13.6509, 12.4195, 45.3849)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C61B5 #B5802C
analogous
#2CA6B5 #2C61B5 #3B2CB5
triadic
#2C61B5 #B52C61 #61B52C
tetradic
#2C61B5 #B52CA6 #B5802C #2CB53B
square
#2C61B5 #B52CA6 #B5802C #2CB53B
split-complementary
#2C61B5 #B53B2C #A6B52C
monochromatic
#142C53 #204784 #2C61B5 #4B80D3 #7CA3DF

Accessibility & contrast

On white

6.03
#2C61B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C61B5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C61B5#FFFFFF#000000##FFFFFF
##2C61B51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#145DB3
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c61b5;
/* rgb */ color: rgb(44, 97, 181);
/* oklch */ color: oklch(50.3% 0.145 259.4);
Tailwind
colors: {
  custom: {
    50: '#788dcc',
    500: '#2c61b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c61b5;
$custom-light: #788dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c61b5",
  "rgb": {
    "r": 44,
    "g": 97,
    "b": 181
  },
  "hsl": {
    "h": 216.788,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.14479,
    "h": 259.4
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#2C61B5
secondary
#C8A875
accent
#A644E4
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C61B5

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

Preview Lab → · Contrast checker → · Palette generator →

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