#2C62CD#2C62CD

#2C62CD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.176 H 262.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2C62CD
RGBrgb(44, 98, 205)
HSLhsl(220, 65%, 49%)
HSVhsv(220, 79%, 80%)
CMYKcmyk(78.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(43.77, 20.87, -60.49)
CIE-LCHlch(43.77, 63.99, 289.04°)
OKLaboklab(52.24% -0.0242 -0.1743)
OKLCHoklch(52.24% 0.176 262.1)
XYZxyz(16.4219, 13.6767, 59.5201)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62CD #CD972C
analogous
#2CB3CD #2C62CD #472CCD
triadic
#2C62CD #CD2C62 #62CD2C
tetradic
#2C62CD #CD2CB3 #CD972C #2CCD47
square
#2C62CD #CD2CB3 #CD972C #2CCD47
split-complementary
#2C62CD #CD472C #B3CD2C
monochromatic
#163268 #214A9B #2C62CD #5B86DC #8DABE7

Accessibility & contrast

On white

5.62
#2C62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2C62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62CD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62CD#FFFFFF#000000##FFFFFF
##2C62CD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156FD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c62cd;
/* rgb */ color: rgb(44, 98, 205);
/* oklch */ color: oklch(52.2% 0.176 262.1);
Tailwind
colors: {
  custom: {
    50: '#7e8edd',
    500: '#2c62cd',
    950: '#000000',
  },
}
SCSS
$custom: #2c62cd;
$custom-light: #7e8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62cd",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 219.876,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.17595,
    "h": 262.1
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#2C62CD
secondary
#D1B784
accent
#AF40E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2C62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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