#2A62EA#2A62EA

#2A62EA is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.5% C 0.214 H 263.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A62EA
RGBrgb(42, 98, 234)
HSLhsl(223, 82%, 54%)
HSVhsv(223, 82%, 92%)
CMYKcmyk(82.1%, 58.1%, 0%, 8.2%)
CIE-LABlab(45.86, 31.59, -73.58)
CIE-LCHlch(45.86, 80.08, 293.23°)
OKLaboklab(54.48% -0.0233 -0.2128)
OKLCHoklch(54.48% 0.214 263.7)
XYZxyz(20.1685, 15.1656, 79.6902)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A62EA #EAB22A
analogous
#2AC2EA #2A62EA #522AEA
triadic
#2A62EA #EA2A62 #62EA2A
tetradic
#2A62EA #EA2AC2 #EAB22A #2AEA52
square
#2A62EA #EA2AC2 #EAB22A #2AEA52
split-complementary
#2A62EA #EA522A #C2EA2A
monochromatic
#0E338C #1347C4 #2A62EA #628BEF #99B4F5

Accessibility & contrast

On white

5.21
#2A62EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A62EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A62EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A62EA#FFFFFF#000000##FFFFFF
##2A62EA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a62ea;
/* rgb */ color: rgb(42, 98, 234);
/* oklch */ color: oklch(54.5% 0.214 263.7);
Tailwind
colors: {
  custom: {
    50: '#848ef2',
    500: '#2a62ea',
    950: '#000000',
  },
}
SCSS
$custom: #2a62ea;
$custom-light: #848ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a62ea",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 222.5,
    "s": 82.051,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.21407,
    "h": 263.7
  },
  "luminance": 0.15168
}

Semantic roles & 50–950 ramp

primary
#2A62EA
secondary
#E1C98F
accent
#BE2FF8
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #2A62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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