#2D62CA#2D62CA

#2D62CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.172 H 262.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2D62CA
RGBrgb(45, 98, 202)
HSLhsl(220, 64%, 48%)
HSVhsv(220, 78%, 79%)
CMYKcmyk(77.7%, 51.5%, 0%, 20.8%)
CIE-LABlab(43.59, 19.84, -59.04)
CIE-LCHlch(43.59, 62.29, 288.57°)
OKLaboklab(52.05% -0.0238 -0.17)
OKLCHoklch(52.05% 0.172 262)
XYZxyz(16.1067, 13.5557, 57.6333)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62CA #CA952D
analogous
#2DB0CA #2D62CA #462DCA
triadic
#2D62CA #CA2D62 #62CA2D
tetradic
#2D62CA #CA2DB0 #CA952D #2DCA46
square
#2D62CA #CA2DB0 #CA952D #2DCA46
split-complementary
#2D62CA #CA462D #B0CA2D
monochromatic
#173166 #224A98 #2D62CA #5A85DA #8CAAE5

Accessibility & contrast

On white

5.66
#2D62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2D62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62CA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62CA#FFFFFF#000000##FFFFFF
##2D62CA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d62ca;
/* rgb */ color: rgb(45, 98, 202);
/* oklch */ color: oklch(52.0% 0.172 262.0);
Tailwind
colors: {
  custom: {
    50: '#7d8edb',
    500: '#2d62ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d62ca;
$custom-light: #7d8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62ca",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 219.745,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.17168,
    "h": 262
  },
  "luminance": 0.13558
}

Semantic roles & 50–950 ramp

primary
#2D62CA
secondary
#CFB683
accent
#AF41E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2D62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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