#2E62BD#2E62BD

#2E62BD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.154 H 260.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2E62BD
RGBrgb(46, 98, 189)
HSLhsl(218, 61%, 46%)
HSVhsv(218, 76%, 74%)
CMYKcmyk(75.7%, 48.1%, 0%, 25.9%)
CIE-LABlab(42.75, 15.03, -52.88)
CIE-LCHlch(42.75, 54.97, 285.87°)
OKLaboklab(51.13% -0.0249 -0.1519)
OKLCHoklch(51.13% 0.154 260.7)
XYZxyz(14.6764, 12.9887, 49.8678)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62BD #BD892E
analogous
#2EA9BD #2E62BD #412EBD
triadic
#2E62BD #BD2E62 #62BD2E
tetradic
#2E62BD #BD2EA9 #BD892E #2EBD41
square
#2E62BD #BD2EA9 #BD892E #2EBD41
split-complementary
#2E62BD #BD412E #A9BD2E
monochromatic
#162F5B #22488C #2E62BD #5382D5 #84A6E1

Accessibility & contrast

On white

5.84
#2E62BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2E62BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62BD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62BD#FFFFFF#000000##FFFFFF
##2E62BD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e62bd;
/* rgb */ color: rgb(46, 98, 189);
/* oklch */ color: oklch(51.1% 0.154 260.7);
Tailwind
colors: {
  custom: {
    50: '#7b8ed1',
    500: '#2e62bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e62bd;
$custom-light: #7b8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62bd",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 218.182,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.15389,
    "h": 260.7
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#2E62BD
secondary
#CAAE7C
accent
#AA44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E62BD

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

Preview Lab → · Contrast checker → · Palette generator →

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