#2E62BC#2E62BC

#2E62BC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.153 H 260.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2E62BC
RGBrgb(46, 98, 188)
HSLhsl(218, 61%, 46%)
HSVhsv(218, 76%, 74%)
CMYKcmyk(75.5%, 47.9%, 0%, 26.3%)
CIE-LABlab(42.68, 14.65, -52.40)
CIE-LCHlch(42.68, 54.41, 285.62°)
OKLaboklab(51.06% -0.025 -0.1505)
OKLCHoklch(51.06% 0.153 260.5)
XYZxyz(14.5682, 12.9454, 49.2981)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62BC #BC882E
analogous
#2EA9BC #2E62BC #412EBC
triadic
#2E62BC #BC2E62 #62BC2E
tetradic
#2E62BC #BC2EA9 #BC882E #2EBC41
square
#2E62BC #BC2EA9 #BC882E #2EBC41
split-complementary
#2E62BC #BC412E #A9BC2E
monochromatic
#162F5A #22488B #2E62BC #5282D5 #84A6E1

Accessibility & contrast

On white

5.85
#2E62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2E62BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62BC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62BC#FFFFFF#000000##FFFFFF
##2E62BC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#025FBA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e62bc;
/* rgb */ color: rgb(46, 98, 188);
/* oklch */ color: oklch(51.1% 0.153 260.5);
Tailwind
colors: {
  custom: {
    50: '#7b8ed1',
    500: '#2e62bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e62bc;
$custom-light: #7b8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62bc",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 218.028,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.15253,
    "h": 260.5
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#2E62BC
secondary
#CAAD7C
accent
#A944E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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