#2E62B9#2E62B9

#2E62B9 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.148 H 260.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2E62B9
RGBrgb(46, 98, 185)
HSLhsl(218, 60%, 45%)
HSVhsv(218, 75%, 73%)
CMYKcmyk(75.1%, 47%, 0%, 27.5%)
CIE-LABlab(42.49, 13.51, -50.96)
CIE-LCHlch(42.49, 52.73, 284.85°)
OKLaboklab(50.85% -0.0255 -0.1462)
OKLCHoklch(50.85% 0.148 260.1)
XYZxyz(14.2482, 12.8174, 47.6126)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B9 #B9852E
analogous
#2EA7B9 #2E62B9 #402EB9
triadic
#2E62B9 #B92E62 #62B92E
tetradic
#2E62B9 #B92EA7 #B9852E #2EB940
square
#2E62B9 #B92EA7 #B9852E #2EB940
split-complementary
#2E62B9 #B9402E #A7B92E
monochromatic
#162E57 #224888 #2E62B9 #5182D4 #82A5E0

Accessibility & contrast

On white

5.89
#2E62B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2E62B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62B9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B9#FFFFFF#000000##FFFFFF
##2E62B91.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336BBC
Deuteranopia (green-blind)
#0E5EB7
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e62b9;
/* rgb */ color: rgb(46, 98, 185);
/* oklch */ color: oklch(50.8% 0.148 260.1);
Tailwind
colors: {
  custom: {
    50: '#7a8ecf',
    500: '#2e62b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b9;
$custom-light: #7a8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b9",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 185
  },
  "hsl": {
    "h": 217.554,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.14844,
    "h": 260.1
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#2E62B9
secondary
#C9AB7A
accent
#A844E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E62B9

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

Preview Lab → · Contrast checker → · Palette generator →

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