#2E5BC8#2E5BC8

#2E5BC8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.177 H 264.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2E5BC8
RGBrgb(46, 91, 200)
HSLhsl(222, 63%, 48%)
HSVhsv(222, 77%, 78%)
CMYKcmyk(77%, 54.5%, 0%, 21.6%)
CIE-LABlab(41.58, 23.73, -61.14)
CIE-LCHlch(41.58, 65.58, 291.21°)
OKLaboklab(50.49% -0.0182 -0.1763)
OKLCHoklch(50.49% 0.177 264.1)
XYZxyz(15.2894, 12.2314, 56.1875)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BC8 #C89B2E
analogous
#2EA8C8 #2E5BC8 #4E2EC8
triadic
#2E5BC8 #C82E5B #5BC82E
tetradic
#2E5BC8 #C82EA8 #C89B2E #2EC84E
square
#2E5BC8 #C82EA8 #C89B2E #2EC84E
split-complementary
#2E5BC8 #C84E2E #A8C82E
monochromatic
#172E64 #234496 #2E5BC8 #5A7FD9 #8CA6E5

Accessibility & contrast

On white

6.09
#2E5BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2E5BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BC8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BC8#FFFFFF#000000##FFFFFF
##2E5BC81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5bc8;
/* rgb */ color: rgb(46, 91, 200);
/* oklch */ color: oklch(50.5% 0.177 264.1);
Tailwind
colors: {
  custom: {
    50: '#7e88d9',
    500: '#2e5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bc8;
$custom-light: #7e88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bc8",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 222.468,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.17724,
    "h": 264.1
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#2E5BC8
secondary
#CFB983
accent
#B642E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2E5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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