#2E62B7#2E62B7

#2E62B7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.146 H 259.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2E62B7
RGBrgb(46, 98, 183)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 72%)
CMYKcmyk(74.9%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.36, 12.75, -50.00)
CIE-LCHlch(42.36, 51.60, 284.31°)
OKLaboklab(50.71% -0.0259 -0.1434)
OKLCHoklch(50.71% 0.146 259.8)
XYZxyz(14.0385, 12.7335, 46.5085)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B7 #B7832E
analogous
#2EA7B7 #2E62B7 #3E2EB7
triadic
#2E62B7 #B72E62 #62B72E
tetradic
#2E62B7 #B72EA7 #B7832E #2EB73E
square
#2E62B7 #B72EA7 #B7832E #2EB73E
split-complementary
#2E62B7 #B73E2E #A7B72E
monochromatic
#152E55 #224886 #2E62B7 #4F81D3 #80A4DF

Accessibility & contrast

On white

5.92
#2E62B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2E62B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62B7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B7#FFFFFF#000000##FFFFFF
##2E62B71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#145EB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e62b7;
/* rgb */ color: rgb(46, 98, 183);
/* oklch */ color: oklch(50.7% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#798ecd',
    500: '#2e62b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b7;
$custom-light: #798ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b7",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 217.226,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.14571,
    "h": 259.8
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#2E62B7
secondary
#C8AA79
accent
#A745E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62B7

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

Preview Lab → · Contrast checker → · Palette generator →

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