#2C62B2#2C62B2

#2C62B2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.140 H 258.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2C62B2
RGBrgb(44, 98, 178)
HSLhsl(216, 60%, 44%)
HSVhsv(216, 75%, 70%)
CMYKcmyk(75.3%, 44.9%, 0%, 30.2%)
CIE-LABlab(41.97, 10.59, -47.70)
CIE-LCHlch(41.97, 48.86, 282.52°)
OKLaboklab(50.29% -0.0281 -0.1366)
OKLCHoklch(50.29% 0.14 258.4)
XYZxyz(13.4393, 12.4837, 43.8121)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62B2 #B27C2C
analogous
#2CA5B2 #2C62B2 #392CB2
triadic
#2C62B2 #B22C62 #62B22C
tetradic
#2C62B2 #B22CA5 #B27C2C #2CB239
square
#2C62B2 #B22CA5 #B27C2C #2CB239
split-complementary
#2C62B2 #B2392C #A5B22C
monochromatic
#142C50 #204781 #2C62B2 #4980D2 #7AA3DE

Accessibility & contrast

On white

6.01
#2C62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C62B2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62B2#FFFFFF#000000##FFFFFF
##2C62B21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c62b2;
/* rgb */ color: rgb(44, 98, 178);
/* oklch */ color: oklch(50.3% 0.140 258.4);
Tailwind
colors: {
  custom: {
    50: '#788ec9',
    500: '#2c62b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c62b2;
$custom-light: #788ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62b2",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 215.821,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.13951,
    "h": 258.4
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#2C62B2
secondary
#C6A573
accent
#A344E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C62B2

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

Preview Lab → · Contrast checker → · Palette generator →

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