#2C62B5#2C62B5

#2C62B5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.144 H 258.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2C62B5
RGBrgb(44, 98, 181)
HSLhsl(216, 61%, 44%)
HSVhsv(216, 76%, 71%)
CMYKcmyk(75.7%, 45.9%, 0%, 29%)
CIE-LABlab(42.16, 11.74, -49.15)
CIE-LCHlch(42.16, 50.53, 283.43°)
OKLaboklab(50.5% -0.0276 -0.1409)
OKLCHoklch(50.5% 0.144 258.9)
XYZxyz(13.7438, 12.6055, 45.4159)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62B5 #B57F2C
analogous
#2CA7B5 #2C62B5 #3A2CB5
triadic
#2C62B5 #B52C62 #62B52C
tetradic
#2C62B5 #B52CA7 #B57F2C #2CB53A
square
#2C62B5 #B52CA7 #B57F2C #2CB53A
split-complementary
#2C62B5 #B53A2C #A7B52C
monochromatic
#142D53 #204784 #2C62B5 #4B81D3 #7CA3DF

Accessibility & contrast

On white

5.96
#2C62B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C62B5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62B5#FFFFFF#000000##FFFFFF
##2C62B51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#185EB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c62b5;
/* rgb */ color: rgb(44, 98, 181);
/* oklch */ color: oklch(50.5% 0.144 258.9);
Tailwind
colors: {
  custom: {
    50: '#788ecc',
    500: '#2c62b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c62b5;
$custom-light: #788ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62b5",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 216.35,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.14361,
    "h": 258.9
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#2C62B5
secondary
#C8A775
accent
#A544E4
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C62B5

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

Preview Lab → · Contrast checker → · Palette generator →

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