#2E5DBF#2E5DBF

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

Color values

HEX#2E5DBF
RGBrgb(46, 93, 191)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 76%, 75%)
CMYKcmyk(75.9%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.48, 19.03, -56.08)
CIE-LCHlch(41.48, 59.22, 288.74°)
OKLaboklab(50.21% -0.0206 -0.1614)
OKLCHoklch(50.21% 0.163 262.7)
XYZxyz(14.4417, 12.1695, 50.8679)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DBF #BF902E
analogous
#2EA6BF #2E5DBF #482EBF
triadic
#2E5DBF #BF2E5D #5DBF2E
tetradic
#2E5DBF #BF2EA6 #BF902E #2EBF48
square
#2E5DBF #BF2EA6 #BF902E #2EBF48
split-complementary
#2E5DBF #BF482E #A6BF2E
monochromatic
#162D5C #22458E #2E5DBF #547ED6 #86A3E2

Accessibility & contrast

On white

6.11
#2E5DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2E5DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DBF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DBF#FFFFFF#000000##FFFFFF
##2E5DBF1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5dbf;
/* rgb */ color: rgb(46, 93, 191);
/* oklch */ color: oklch(50.2% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#7b8ad3',
    500: '#2e5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dbf;
$custom-light: #7b8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dbf",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 220.552,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.16268,
    "h": 262.7
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#2E5DBF
secondary
#CBB27E
accent
#B044E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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