#2C62BB#2C62BB

#2C62BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.152 H 259.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2C62BB
RGBrgb(44, 98, 187)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 76%, 73%)
CMYKcmyk(76.5%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.55, 14.02, -52.04)
CIE-LCHlch(42.55, 53.89, 285.08°)
OKLaboklab(50.92% -0.0266 -0.1494)
OKLCHoklch(50.92% 0.152 259.9)
XYZxyz(14.3728, 12.8571, 48.7282)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62BB #BB852C
analogous
#2CA9BB #2C62BB #3E2CBB
triadic
#2C62BB #BB2C62 #62BB2C
tetradic
#2C62BB #BB2CA9 #BB852C #2CBB3E
square
#2C62BB #BB2CA9 #BB852C #2CBB3E
split-complementary
#2C62BB #BB3E2C #A9BB2C
monochromatic
#152E58 #204889 #2C62BB #4F82D6 #80A5E1

Accessibility & contrast

On white

5.88
#2C62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C62BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62BB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62BB#FFFFFF#000000##FFFFFF
##2C62BB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#045EB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c62bb;
/* rgb */ color: rgb(44, 98, 187);
/* oklch */ color: oklch(50.9% 0.152 259.9);
Tailwind
colors: {
  custom: {
    50: '#7a8ed0',
    500: '#2c62bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c62bb;
$custom-light: #7a8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62bb",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 217.343,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.15176,
    "h": 259.9
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#2C62BB
secondary
#CAAB79
accent
#A843E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2C62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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