#2E5BBB#2E5BBB

#2E5BBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.160 H 263.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2E5BBB
RGBrgb(46, 91, 187)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 75%, 73%)
CMYKcmyk(75.4%, 51.3%, 0%, 26.7%)
CIE-LABlab(40.65, 18.82, -55.09)
CIE-LCHlch(40.65, 58.21, 288.86°)
OKLaboklab(49.49% -0.0195 -0.1585)
OKLCHoklch(49.49% 0.16 263)
XYZxyz(13.8342, 11.6493, 48.5235)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BBB #BB8E2E
analogous
#2EA1BB #2E5BBB #472EBB
triadic
#2E5BBB #BB2E5B #5BBB2E
tetradic
#2E5BBB #BB2EA1 #BB8E2E #2EBB47
square
#2E5BBB #BB2EA1 #BB8E2E #2EBB47
split-complementary
#2E5BBB #BB472E #A1BB2E
monochromatic
#162B59 #22438A #2E5BBB #527BD4 #83A1E0

Accessibility & contrast

On white

6.31
#2E5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2E5BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BBB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BBB#FFFFFF#000000##FFFFFF
##2E5BBB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5bbb;
/* rgb */ color: rgb(46, 91, 187);
/* oklch */ color: oklch(49.5% 0.160 263.0);
Tailwind
colors: {
  custom: {
    50: '#7b88d0',
    500: '#2e5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bbb;
$custom-light: #7b88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bbb",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 220.851,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.15968,
    "h": 263
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#2E5BBB
secondary
#CAB17B
accent
#B144E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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