#2A62C7#2A62C7

#2A62C7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.168 H 261.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2A62C7
RGBrgb(42, 98, 199)
HSLhsl(219, 65%, 47%)
HSVhsv(219, 79%, 78%)
CMYKcmyk(78.9%, 50.8%, 0%, 22%)
CIE-LABlab(43.28, 18.38, -57.81)
CIE-LCHlch(43.28, 60.66, 287.64°)
OKLaboklab(51.72% -0.0262 -0.1664)
OKLCHoklch(51.72% 0.168 261.1)
XYZxyz(15.6276, 13.3493, 55.7748)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62C7 #C78F2A
analogous
#2AB0C7 #2A62C7 #412AC7
triadic
#2A62C7 #C72A62 #62C72A
tetradic
#2A62C7 #C72AB0 #C78F2A #2AC741
square
#2A62C7 #C72AB0 #C78F2A #2AC741
split-complementary
#2A62C7 #C7412A #B0C72A
monochromatic
#153062 #1F4994 #2A62C7 #5384DB #86A8E5

Accessibility & contrast

On white

5.72
#2A62C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2A62C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62C7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62C7#FFFFFF#000000##FFFFFF
##2A62C71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a62c7;
/* rgb */ color: rgb(42, 98, 199);
/* oklch */ color: oklch(51.7% 0.168 261.1);
Tailwind
colors: {
  custom: {
    50: '#7c8ed9',
    500: '#2a62c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a62c7;
$custom-light: #7c8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62c7",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 218.599,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.16847,
    "h": 261.1
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

primary
#2A62C7
secondary
#CFB27E
accent
#AC40E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A62C7

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

Preview Lab → · Contrast checker → · Palette generator →

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