#2E5BC2#2E5BC2

#2E5BC2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.169 H 263.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2E5BC2
RGBrgb(46, 91, 194)
HSLhsl(222, 62%, 47%)
HSVhsv(222, 76%, 76%)
CMYKcmyk(76.3%, 53.1%, 0%, 23.9%)
CIE-LABlab(41.15, 21.47, -58.37)
CIE-LCHlch(41.15, 62.19, 290.19°)
OKLaboklab(50.02% -0.0187 -0.1681)
OKLCHoklch(50.02% 0.169 263.6)
XYZxyz(14.6019, 11.9564, 52.5667)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BC2 #C2952E
analogous
#2EA5C2 #2E5BC2 #4B2EC2
triadic
#2E5BC2 #C22E5B #5BC22E
tetradic
#2E5BC2 #C22EA5 #C2952E #2EC24B
square
#2E5BC2 #C22EA5 #C2952E #2EC24B
split-complementary
#2E5BC2 #C24B2E #A5C22E
monochromatic
#172D5F #224491 #2E5BC2 #567DD7 #88A3E3

Accessibility & contrast

On white

6.19
#2E5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2E5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BC2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BC2#FFFFFF#000000##FFFFFF
##2E5BC21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C68C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5bc2;
/* rgb */ color: rgb(46, 91, 194);
/* oklch */ color: oklch(50.0% 0.169 263.6);
Tailwind
colors: {
  custom: {
    50: '#7c88d5',
    500: '#2e5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bc2;
$custom-light: #7c88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bc2",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 221.757,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.16918,
    "h": 263.6
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#2E5BC2
secondary
#CCB57F
accent
#B443E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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