#2A62C1#2A62C1

#2A62C1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.160 H 260.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A62C1
RGBrgb(42, 98, 193)
HSLhsl(218, 64%, 46%)
HSVhsv(218, 78%, 76%)
CMYKcmyk(78.2%, 49.2%, 0%, 24.3%)
CIE-LABlab(42.88, 16.09, -55.00)
CIE-LCHlch(42.88, 57.30, 286.30°)
OKLaboklab(51.28% -0.027 -0.1582)
OKLCHoklch(51.28% 0.16 260.3)
XYZxyz(14.9447, 13.0761, 52.1780)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62C1 #C1892A
analogous
#2AADC1 #2A62C1 #3D2AC1
triadic
#2A62C1 #C12A62 #62C12A
tetradic
#2A62C1 #C12AAD #C1892A #2AC13D
square
#2A62C1 #C12AAD #C1892A #2AC13D
split-complementary
#2A62C1 #C13D2A #ADC12A
monochromatic
#142F5C #1F488F #2A62C1 #4F82D9 #82A6E4

Accessibility & contrast

On white

5.81
#2A62C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2A62C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62C1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62C1#FFFFFF#000000##FFFFFF
##2A62C11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC4
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a62c1;
/* rgb */ color: rgb(42, 98, 193);
/* oklch */ color: oklch(51.3% 0.160 260.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ed4',
    500: '#2a62c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a62c1;
$custom-light: #7a8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62c1",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 193
  },
  "hsl": {
    "h": 217.748,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.16043,
    "h": 260.3
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#2A62C1
secondary
#CDAE7A
accent
#A941E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2A62C1

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

Preview Lab → · Contrast checker → · Palette generator →

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