#2E62CA#2E62CA

#2E62CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.171 H 262.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2E62CA
RGBrgb(46, 98, 202)
HSLhsl(220, 63%, 49%)
HSVhsv(220, 77%, 79%)
CMYKcmyk(77.2%, 51.5%, 0%, 20.8%)
CIE-LABlab(43.62, 19.95, -58.99)
CIE-LCHlch(43.62, 62.27, 288.69°)
OKLaboklab(52.08% -0.0232 -0.1698)
OKLCHoklch(52.08% 0.171 262.2)
XYZxyz(16.1512, 13.5786, 57.6354)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62CA #CA962E
analogous
#2EB0CA #2E62CA #482ECA
triadic
#2E62CA #CA2E62 #62CA2E
tetradic
#2E62CA #CA2EB0 #CA962E #2ECA48
square
#2E62CA #CA2EB0 #CA962E #2ECA48
split-complementary
#2E62CA #CA482E #B0CA2E
monochromatic
#173266 #234A98 #2E62CA #5B86DA #8DABE5

Accessibility & contrast

On white

5.65
#2E62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2E62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62CA#FFFFFF#000000##FFFFFF
##2E62CA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.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: #2e62ca;
/* rgb */ color: rgb(46, 98, 202);
/* oklch */ color: oklch(52.1% 0.171 262.2);
Tailwind
colors: {
  custom: {
    50: '#7e8edb',
    500: '#2e62ca',
    950: '#000000',
  },
}
SCSS
$custom: #2e62ca;
$custom-light: #7e8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62ca",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 220,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.17141,
    "h": 262.2
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#2E62CA
secondary
#CFB684
accent
#AF42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2E62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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