#2E4DBD#2E4DBD

#2E4DBD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.180 H 267.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4DBD
RGBrgb(46, 77, 189)
HSLhsl(227, 61%, 46%)
HSVhsv(227, 76%, 74%)
CMYKcmyk(75.7%, 59.3%, 0%, 25.9%)
CIE-LABlab(37.04, 28.73, -62.12)
CIE-LCHlch(37.04, 68.44, 294.82°)
OKLaboklab(46.81% -0.0089 -0.1794)
OKLCHoklch(46.81% 0.18 267.2)
XYZxyz(12.9627, 9.5613, 49.2966)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DBD #BD9E2E
analogous
#2E94BD #2E4DBD #562EBD
triadic
#2E4DBD #BD2E4D #4DBD2E
tetradic
#2E4DBD #BD2E94 #BD9E2E #2EBD56
square
#2E4DBD #BD2E94 #BD9E2E #2EBD56
split-complementary
#2E4DBD #BD562E #94BD2E
monochromatic
#16255B #22398C #2E4DBD #536FD5 #8498E1

Accessibility & contrast

On white

7.21
#2E4DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E4DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DBD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DBD#FFFFFF#000000##FFFFFF
##2E4DBD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4dbd;
/* rgb */ color: rgb(46, 77, 189);
/* oklch */ color: oklch(46.8% 0.180 267.2);
Tailwind
colors: {
  custom: {
    50: '#7c7ed2',
    500: '#2e4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2e4dbd;
$custom-light: #7c7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4dbd",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 226.993,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.17961,
    "h": 267.2
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#2E4DBD
secondary
#CABA7C
accent
#C144E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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