#2C62B7#2C62B7

#2C62B7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.146 H 259.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2C62B7
RGBrgb(44, 98, 183)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 76%, 72%)
CMYKcmyk(76%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.29, 12.50, -50.12)
CIE-LCHlch(42.29, 51.65, 284.00°)
OKLaboklab(50.64% -0.0272 -0.1438)
OKLCHoklch(50.64% 0.146 259.3)
XYZxyz(13.9505, 12.6882, 46.5044)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62B7 #B7812C
analogous
#2CA7B7 #2C62B7 #3C2CB7
triadic
#2C62B7 #B72C62 #62B72C
tetradic
#2C62B7 #B72CA7 #B7812C #2CB73C
square
#2C62B7 #B72CA7 #B7812C #2CB73C
split-complementary
#2C62B7 #B73C2C #A7B72C
monochromatic
#142D54 #204886 #2C62B7 #4C81D4 #7EA4E0

Accessibility & contrast

On white

5.94
#2C62B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2C62B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62B7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62B7#FFFFFF#000000##FFFFFF
##2C62B71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#135EB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c62b7;
/* rgb */ color: rgb(44, 98, 183);
/* oklch */ color: oklch(50.6% 0.146 259.3);
Tailwind
colors: {
  custom: {
    50: '#798ecd',
    500: '#2c62b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c62b7;
$custom-light: #798ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62b7",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 216.691,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.14633,
    "h": 259.3
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#2C62B7
secondary
#C8A976
accent
#A643E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C62B7

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

Preview Lab → · Contrast checker → · Palette generator →

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