#2E4DB2#2E4DB2

#2E4DB2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.165 H 266.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2E4DB2
RGBrgb(46, 77, 178)
HSLhsl(226, 59%, 44%)
HSVhsv(226, 74%, 70%)
CMYKcmyk(74.2%, 56.7%, 0%, 30.2%)
CIE-LABlab(36.18, 24.62, -57.05)
CIE-LCHlch(36.18, 62.13, 293.34°)
OKLaboklab(45.9% -0.0093 -0.1645)
OKLCHoklch(45.9% 0.165 266.8)
XYZxyz(11.8137, 9.1017, 43.2450)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DB2 #B2932E
analogous
#2E8FB2 #2E4DB2 #512EB2
triadic
#2E4DB2 #B22E4D #4DB22E
tetradic
#2E4DB2 #B22E8F #B2932E #2EB251
square
#2E4DB2 #B22E8F #B2932E #2EB251
split-complementary
#2E4DB2 #B2512E #8FB22E
monochromatic
#152351 #213881 #2E4DB2 #4C6BD1 #7D94DD

Accessibility & contrast

On white

7.45
#2E4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E4DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DB2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DB2#FFFFFF#000000##FFFFFF
##2E4DB21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4db2;
/* rgb */ color: rgb(46, 77, 178);
/* oklch */ color: oklch(45.9% 0.165 266.8);
Tailwind
colors: {
  custom: {
    50: '#797eca',
    500: '#2e4db2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4db2;
$custom-light: #797eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4db2",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 225.909,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.16476,
    "h": 266.8
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#2E4DB2
secondary
#C6B376
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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