#2C62B8#2C62B8

#2C62B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.148 H 259.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2C62B8
RGBrgb(44, 98, 184)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 76%, 72%)
CMYKcmyk(76.1%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.35, 12.88, -50.60)
CIE-LCHlch(42.35, 52.21, 284.28°)
OKLaboklab(50.71% -0.0271 -0.1452)
OKLCHoklch(50.71% 0.148 259.4)
XYZxyz(14.0550, 12.7299, 47.0545)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62B8 #B8822C
analogous
#2CA8B8 #2C62B8 #3C2CB8
triadic
#2C62B8 #B82C62 #62B82C
tetradic
#2C62B8 #B82CA8 #B8822C #2CB83C
square
#2C62B8 #B82CA8 #B8822C #2CB83C
split-complementary
#2C62B8 #B83C2C #A8B82C
monochromatic
#142D55 #204887 #2C62B8 #4D81D4 #7EA4E0

Accessibility & contrast

On white

5.92
#2C62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2C62B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62B8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62B8#FFFFFF#000000##FFFFFF
##2C62B81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#105EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c62b8;
/* rgb */ color: rgb(44, 98, 184);
/* oklch */ color: oklch(50.7% 0.148 259.4);
Tailwind
colors: {
  custom: {
    50: '#798ece',
    500: '#2c62b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c62b8;
$custom-light: #798ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62b8",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 216.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.14768,
    "h": 259.4
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#2C62B8
secondary
#C9A977
accent
#A643E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2C62B8

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

Preview Lab → · Contrast checker → · Palette generator →

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