#2E5EBC#2E5EBC

#2E5EBC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.157 H 262.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2E5EBC
RGBrgb(46, 94, 188)
HSLhsl(220, 61%, 46%)
HSVhsv(220, 76%, 74%)
CMYKcmyk(75.5%, 50%, 0%, 26.3%)
CIE-LABlab(41.56, 17.24, -54.21)
CIE-LCHlch(41.56, 56.89, 287.64°)
OKLaboklab(50.2% -0.0218 -0.1559)
OKLCHoklch(50.2% 0.157 262.1)
XYZxyz(14.2033, 12.2155, 49.1765)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EBC #BC8C2E
analogous
#2EA5BC #2E5EBC #452EBC
triadic
#2E5EBC #BC2E5E #5EBC2E
tetradic
#2E5EBC #BC2EA5 #BC8C2E #2EBC45
square
#2E5EBC #BC2EA5 #BC8C2E #2EBC45
split-complementary
#2E5EBC #BC452E #A5BC2E
monochromatic
#162D5A #22458B #2E5EBC #527ED5 #84A3E1

Accessibility & contrast

On white

6.10
#2E5EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2E5EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EBC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EBC#FFFFFF#000000##FFFFFF
##2E5EBC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5ebc;
/* rgb */ color: rgb(46, 94, 188);
/* oklch */ color: oklch(50.2% 0.157 262.1);
Tailwind
colors: {
  custom: {
    50: '#7b8bd1',
    500: '#2e5ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ebc;
$custom-light: #7b8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ebc",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 219.718,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.15737,
    "h": 262.1
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#2E5EBC
secondary
#CAB07C
accent
#AE44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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