#2E5FBB#2E5FBB

#2E5FBB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.155 H 261.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2E5FBB
RGBrgb(46, 95, 187)
HSLhsl(219, 61%, 46%)
HSVhsv(219, 75%, 73%)
CMYKcmyk(75.4%, 49.2%, 0%, 26.7%)
CIE-LABlab(41.77, 16.21, -53.29)
CIE-LCHlch(41.77, 55.70, 286.92°)
OKLaboklab(50.34% -0.0227 -0.1531)
OKLCHoklch(50.34% 0.155 261.6)
XYZxyz(14.1853, 12.3515, 48.6405)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FBB #BB8A2E
analogous
#2EA5BB #2E5FBB #432EBB
triadic
#2E5FBB #BB2E5F #5FBB2E
tetradic
#2E5FBB #BB2EA5 #BB8A2E #2EBB43
square
#2E5FBB #BB2EA5 #BB8A2E #2EBB43
split-complementary
#2E5FBB #BB432E #A5BB2E
monochromatic
#162D59 #22468A #2E5FBB #527FD4 #83A3E0

Accessibility & contrast

On white

6.05
#2E5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2E5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FBB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FBB#FFFFFF#000000##FFFFFF
##2E5FBB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5fbb;
/* rgb */ color: rgb(46, 95, 187);
/* oklch */ color: oklch(50.3% 0.155 261.6);
Tailwind
colors: {
  custom: {
    50: '#7a8bd0',
    500: '#2e5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fbb;
$custom-light: #7a8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fbb",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 219.149,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.15479,
    "h": 261.6
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#2E5FBB
secondary
#CAAE7B
accent
#AC44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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