#2E5DBB#2E5DBB

#2E5DBB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.157 H 262.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2E5DBB
RGBrgb(46, 93, 187)
HSLhsl(220, 61%, 46%)
HSVhsv(220, 75%, 73%)
CMYKcmyk(75.4%, 50.3%, 0%, 26.7%)
CIE-LABlab(41.21, 17.51, -54.19)
CIE-LCHlch(41.21, 56.95, 287.91°)
OKLaboklab(49.91% -0.0211 -0.1558)
OKLCHoklch(49.91% 0.157 262.3)
XYZxyz(14.0075, 11.9958, 48.5813)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DBB #BB8C2E
analogous
#2EA3BB #2E5DBB #452EBB
triadic
#2E5DBB #BB2E5D #5DBB2E
tetradic
#2E5DBB #BB2EA3 #BB8C2E #2EBB45
square
#2E5DBB #BB2EA3 #BB8C2E #2EBB45
split-complementary
#2E5DBB #BB452E #A3BB2E
monochromatic
#162C59 #22458A #2E5DBB #527DD4 #83A2E0

Accessibility & contrast

On white

6.18
#2E5DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E5DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DBB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DBB#FFFFFF#000000##FFFFFF
##2E5DBB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5dbb;
/* rgb */ color: rgb(46, 93, 187);
/* oklch */ color: oklch(49.9% 0.157 262.3);
Tailwind
colors: {
  custom: {
    50: '#7b8ad0',
    500: '#2e5dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dbb;
$custom-light: #7b8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dbb",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 220,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.15723,
    "h": 262.3
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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