#2E4DBF#2E4DBF

#2E4DBF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.182 H 267.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2E4DBF
RGBrgb(46, 77, 191)
HSLhsl(227, 61%, 46%)
HSVhsv(227, 76%, 75%)
CMYKcmyk(75.9%, 59.7%, 0%, 25.1%)
CIE-LABlab(37.20, 29.48, -63.03)
CIE-LCHlch(37.20, 69.58, 295.07°)
OKLaboklab(46.98% -0.0089 -0.1821)
OKLCHoklch(46.98% 0.182 267.2)
XYZxyz(13.1813, 9.6487, 50.4478)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DBF #BFA02E
analogous
#2E96BF #2E4DBF #572EBF
triadic
#2E4DBF #BF2E4D #4DBF2E
tetradic
#2E4DBF #BF2E96 #BFA02E #2EBF57
square
#2E4DBF #BF2E96 #BFA02E #2EBF57
split-complementary
#2E4DBF #BF572E #96BF2E
monochromatic
#16255C #22398E #2E4DBF #5470D6 #8699E2

Accessibility & contrast

On white

7.17
#2E4DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2E4DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DBF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DBF#FFFFFF#000000##FFFFFF
##2E4DBF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e4dbf;
/* rgb */ color: rgb(46, 77, 191);
/* oklch */ color: oklch(47.0% 0.182 267.2);
Tailwind
colors: {
  custom: {
    50: '#7c7ed3',
    500: '#2e4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2e4dbf;
$custom-light: #7c7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4dbf",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 227.172,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46984,
    "c": 0.18228,
    "h": 267.2
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#2E4DBF
secondary
#CBBB7E
accent
#C244E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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