#2E5CBB#2E5CBB

#2E5CBB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.158 H 262.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2E5CBB
RGBrgb(46, 92, 187)
HSLhsl(220, 61%, 46%)
HSVhsv(220, 75%, 73%)
CMYKcmyk(75.4%, 50.8%, 0%, 26.7%)
CIE-LABlab(40.93, 18.16, -54.64)
CIE-LCHlch(40.93, 57.58, 288.39°)
OKLaboklab(49.7% -0.0203 -0.1572)
OKLCHoklch(49.7% 0.158 262.6)
XYZxyz(13.9203, 11.8214, 48.5522)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CBB #BB8D2E
analogous
#2EA2BB #2E5CBB #472EBB
triadic
#2E5CBB #BB2E5C #5CBB2E
tetradic
#2E5CBB #BB2EA2 #BB8D2E #2EBB47
square
#2E5CBB #BB2EA2 #BB8D2E #2EBB47
split-complementary
#2E5CBB #BB472E #A2BB2E
monochromatic
#162C59 #22448A #2E5CBB #527CD4 #83A1E0

Accessibility & contrast

On white

6.24
#2E5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E5CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CBB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CBB#FFFFFF#000000##FFFFFF
##2E5CBB1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5cbb;
/* rgb */ color: rgb(46, 92, 187);
/* oklch */ color: oklch(49.7% 0.158 262.6);
Tailwind
colors: {
  custom: {
    50: '#7b89d0',
    500: '#2e5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cbb;
$custom-light: #7b89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cbb",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 220.426,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.497,
    "c": 0.15845,
    "h": 262.6
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#2E5CBB
secondary
#CAB07B
accent
#B044E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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